After upgrading my server to PHP 5.4 I am getting a fatal error when accessing /admin/structure/pages

PHP Fatal error:  Unsupported operand types in C:\inetpub\wwwroot\drupal-7.9\includes\theme.inc on line 980

Comments

pettitti’s picture

StatusFileSize
new683 bytes

This patch fixes that error, correctly passing the variable to the theme function as an array instead of a list of arguments

rogical’s picture

Version: 7.x-1.x-dev » 7.x-1.0-rc2
Priority: Normal » Major
Status: Active » Needs review

it works perfectly!

rogical’s picture

Issue tags: +PHP 5.4

Add tag

morbiD’s picture

Works for me too. No more WSOD at /admin/structure/pages.

RTBC given how simple the fix is?

Robin Millette’s picture

hakumiah’s picture

im a noob.. where do i APPLY this patch to fix the problem

Robin Millette’s picture

@hakumia, see http://drupal.org/patch/apply

If you have more questions, check the forum, handbook and IRC.

pumin’s picture

Same problem when accessing /admin/settings/ctools_plugin_example (enable Chaos Tools (CTools) Plugin Example module first)

Fatal error: Unsupported operand types in /srv/www/test.com/drupal/includes/theme.inc on line 965

dmitriy.trt’s picture

StatusFileSize
new1.15 KB

Actual fix for the problem.

merlinofchaos’s picture

Status: Needs review » Fixed

#9 committed to D7.

Automatically closed -- issue fixed for 2 weeks with no activity.