Putting site into maintenance mode generates:

Catchable fatal error: Object of class stdClass could not be converted to string in /home/site/public_html/includes/theme.inc on line 2710

Custom theme generated by Omega Tools 7.x-3.0-rc4. The theme works fine for any other page.

Looking for ways to debug this. It doesn't seem to be a common issue on drupal.org.

Comments

tauno’s picture

Do you have a region with the id of user? If so that might be causing the error on the maintenance page since the maintenance page adds the user object to the variables array while line 2710 expects $variables['user'] to be a string.

espurnes’s picture

Issue summary: View changes

I had the same problem in Omega 7.x-4.3 and it was solved by renaming a custom region called "user" to "user_region".

Thank you tauno.

espurnes’s picture

Status: Active » Closed (fixed)