1

我收到以下错误

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”错误而静默失败。

4

0 回答 0