Forums / General / debug warnings

debug warnings

Author Message

André R.

Monday 28 November 2005 5:33:09 pm

Been debugging, and found some errors and warnings I don't quite understand..

Notice: 	Nov 29 2005 02:36:35	

eZTemplate: Loading template "pagelayout.tpl" with resource "design"
Warning: PHP	Nov 29 2005 02:36:35	

array_keys(): The first argument should be an array in /home/sbio/www/var/map/cache/template/compiled/pagelayout-6477835f9e0041732485d45b69a450b3.php on line 795

and

Warning: PHP	Nov 29 2005 02:54:34	

Invalid argument supplied for foreach() in /home/sbio/www/kernel/classes/ezcontentobjecttreenode.php on line 759

ez: 3.7.2
php: 4.4.0-4 debian

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Nathan Kelly

Tuesday 29 November 2005 3:36:05 pm

Hi André, it looks like you may have a couple of syntax errors in either your pagelayout.tpl or other .tpl files.

Can you please post your template code from pagelayout.tpl?

Cheers!

Pardon me while I burst into flames...