-2
在pimcore版本:3.1.1(编译:3543)我得到php.log以下错误,但在pimcore没有的debug.log错误。PHP开捕致命错误:类类定义的对象不能转换为字符串Concrete.php
[29-Jan-2016 16:28:13 Europe/Berlin] PHP Catchable fatal error: Object of class Pimcore\Model\Object\ClassDefinition could not be converted to string in /opt/bitnami/apps/pimcore/htdocs/pimcore/models/Webservice/Data/Object/Concrete.php on line 104
我得到HTTP 500自定义WebService的内部服务器错误响应。
我怎么能查吗?有没有已经为这个错误的决议?
生成错误pimcore源代码行(Concrete.php)如下:
throw new \Exception("No element [ " . $element->name . " ] of type [ " . $element->type . " ] found in class definition " . $class);
因此,似乎由于错误的错误处理。
我们需要一些代码,以帮助...... –
你得到一个错误尝试什么?需要一些代码请 – fusion3k
此问题的解决方案是不尝试使用一个对象作为字符串。 –