致命错误:没有PHP类的对象请求的类条目

时间:2013-07-05 08:49:21

标签: php xdebug

我收到以下错误

Fatal error: Class entry requested for an object without PHP class

在Xdebug处于活动状态时,在70%的尝试中运行以下代码:

if (isset($billingData['email'])) {
    $this->email = $billingData['email'];
}

它失败的行实际上取决于设置断点的行。

我倾向于将该问题与5.4.x(我将PHP 5.4.9-4ubuntu2.1与Xdebug v2.2.3)连接起来,因为5.3.x上不会发生错误。当Xdebug处于活动状态时,NetBeans将抛出

Socket Exception occured
If you have any Watches, try to remove them and restart debugger. If removing Watches doesn't help or you don't have any Watches, please file an issue and provide the exact steps to reproduce your problem. Please attach the IDE log. Attaching your project would also be very helpful.

当没有调试时,脚本只是静默失败,Chrome中出现“ERR_EMPTY_RESPONSE”错误。

0 个答案:

没有答案