Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
3.8.6
-
None
-
Operating System: winXP64
PHP Version: (please be specific, like '4.4.3' or '5.1.5') 4.4.2
Database and version: 3.23
Browser (and version): firefox 1.5.0.8
Description
The operator "attribute(show, [level])" is used to show the content of an object. If the level / depth of showing content is to high you get an fatal error.
If you use the operator e.g.
{$node|attribute(show,10)}
in pagelayout.tpl
you get an fatal error:
Fatal error: Call to a member function on a non-object in C:\workspace\est\kernel\classes\ezcontentobjectattribute.php on line 394
Fatal error: eZ publish did not finish its request
The execution of eZ publish was abruptly ended, the debug output is present below.
Steps to reproduce
- insert {$node|attribute(show,10)} into pagelayout.tpl
- access the webpage
=> you get the error if not try a bigger number
Attachments
Issue Links
- duplicates
-
EZP-9265 Fatal Error in kernel/classes/ezcontentobjectattribute.php on line 392
- Closed