I'm playing with Panels & Panels Everywhere on my localhost and I'm using PHP 5.4.9. It looks like in PHP 5.4.9, it is required to put the ampersand explicitly in the definition of a function, if you want it to receive arguments by reference when called by call_user_func_array. This probably affects loads of functions in contrib. Worst of all, PHP fails silently, which is stupid - it was supposed to fail with a fatal error. Docs: PHP, passing by reference, where the comments shed some light on this.
My current issue is with panels_everywhere_theme_registry_alter(), which requires its ampersand too (it's called inside drupal_alter(), which uses PHP's call_user_func_array()). So here's a patch that adds it.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | panels_everywhere-n1866614-3.patch | 527 bytes | damienmckenna |
Comments
Comment #1
camil.bancioiu commentedA consequence of this is that Panels Everywhere has no effect when it is enabled in the Panels > Settings > Everywhere page.
Adding this comment just to get it indexed by search engines, so people will find it while describing the problem by its symptoms.
Comment #2
nigelcunningham commentedThis fixes the issue for me too.
Comment #3
damienmckennaA simple reroll, so I'm going to leave the status as-is.
Comment #4
damienmckennaCommitted! Thank you for your patience.