This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » General » Unsupported operand types in ezdebug.php

Unsupported operand types in ezdebug.php

Unsupported operand types in ezdebug.php

Thursday 13 June 2013 11:52:59 am - 3 replies

Hi there,

on ezpublish community project 2012.8 we get from time to time fatal errors. the error msg refers to static function alwaysLogMessage( $level ) in ezdebug.php (line 229 in this version):
»$instance->AlwaysLog = $GLOBALS['eZDebugAlwaysLog'] + $instance->AlwaysLog;«
To get rid of the error output on our website, I break the function by returning false at the beginning.

Does anyone know where I should look for the reason? Maybe a typo in the debug settings? I grepped all around but found nothing regarding alwayslog than eZ's default settings.

Printing »$instance->AlwaysLog« throws Method name must be a string in eztextcodec.php in line 296...

Any help would be appreciated.
Thanks in advance // nielo

Monday 17 June 2013 11:35:37 am


Monday 17 June 2013 6:16:43 pm

not sure how you tried to debug that. you could do a var_dump on both operands... as far as unsupported operands go, one of the two could be an array, as any scalar would pass the conversion. Not sure why you would get a textcodec conversion error when trying to dump that data.

Thursday 20 June 2013 2:24:56 pm

Thanks a lot for your suggestions. I will give your debug options a try...


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from