I recently upgraded to PHP 5.4.14-1~quantal+1 and now I get this error in my copy of Habari 0.10 (c9bcc314a6b199a592be3563bd6bd4774d3ce638):
Fatal error: Cannot use object of type Habari\TheViewInside as array in /var/www/habari/system/classes/pluggable.php on line 139
I tracked it down and it appears that's because when Pluggable checks if a the priority array contains an entry for the hook (in Pluggable::load_hooks), $priorities is set to $this. I am not using priorities, so I removed the code where $priorities appeared, so $priorities was unused in the function. Still it equaled $this. I then solved it by setting $priorities to NULL at the beginning of Pluggable::load_hooks(), but still it's strange behaviour.
I was not (yet) able to reproduce that issue with a different theme, but maybe someone has an idea what the reason is, or someone comes across this when looking for a solution to the same problem. It also does not appear in master, but half Habari has changed since the version I use.