使用hprose时,存在warning问题

浏览:868 发布日期:2015/10/08 分类:求助交流 关键字: hprose rpc warning
ThinkPHP 3.2.3

Es129"Warning: Illegal offset type in isset or empty in C:\wamp\www\statistics\thinkphp_3.2.3\Library\Think\Model.class.php on line 445"z

原因:我的数据表有两个字段作为主键,在445行isset($options['where'][$pk])存在warning,被hprose捕获到了,但我不希望有这个warning的提示。

在thinkphp_3.2.3/Library/Vendor/Hprose/HproseHttpServer.php文件里找到有errorTable属性,但没有相关的设置。
这里该怎么处理呢?
最佳答案
评论( 相关
后面还有条评论,点击查看>>