• Hey there – I run Zelda Universe, a high-traffic fansite that runs WordPress as its CMS. I’ve been running WordPress sites for years, but only recently has Zelda Universe been showing some issues that my other WordPress-powered sites do not.

    Seemingly randomly, the following error appears and brings the entire site down, even the admin panel:

    Warning: timezone_open() [function.timezone-open]: Unknown or bad timezone (a) in /home/zelda/public_html/wp-includes/functions.php on line 3160

    Fatal error: Cannot unset string offsets in /home/zelda/public_html/wp-includes/widgets.php on line 1046

    I have no idea what’s causing it. It’s been going on for a few months, and I thought it would be a plugin of some sort, but it’s not. In addition, I heard that turning off Magic Quotes in php.ini would fix this, but I never had Magic Quotes on in the first place. A server restart is the only thing that gets rid of this – and only temporarily does it do so.

    Please help! I greatly appreciate everything.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-related problems.

    renaming the plugins folder via FTP

    – reading http://wordpress.org/support/topic/279132

    Thread Starter goldenchaos

    (@goldenchaos)

    Yes, I’ve done all of those except switching themes. As the site is live I can’t simply switch themes and wait for the error to happen or not happen – if it is theme-specific, there must be a way to determine this without switching themes.

    The problem has actually happened even if we’re not running any third-party widgets at all. I disabled all of the plugins for a few days and determined a plugin wasn’t causing it at all – we still got the error. Although, when I re-enabled the plugins the rate at which the error occurred increased. However, it could still be one of the default widgets… but all we use are Links widgets.

    This problem has actually been going on since October, or since WordPress 2.6 about. More recently the “random” attacks seem to be happening more often. It used to happen once a month, now it happens every day or so.

    In addition, this fatal error leaves nothing in any error logs, so the folks who run my server can’t pinpoint any possible errors – so I’m really stumped.

    Sounds like it may be your theme that has the problem.

    Thread Starter goldenchaos

    (@goldenchaos)

    Anything in the theme that might cause it?

    No idea. Try switching to the default theme and see if the error disappears. If it does, then it confirms that the theme is at fault.

    Thread Starter goldenchaos

    (@goldenchaos)

    I suppose I’ll have to set up a test site and see what happens. I’ll report back when I’ve done so. While I do that, could you think of anything else that might be causing it? If I load up the theme on a new install and nothing happens… well, it can’t be the theme!

    Thread Starter goldenchaos

    (@goldenchaos)

    It does not appear to be the theme. I have been running the theme on a test site for two days now and it has not gotten hit by the fatal error.

    However, Zelda Universe has in this time been hit again. As I type, the error displays.

    If anybody has any idea what else could cause this, please post!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cannot Unset String Offsets in Widgets.php’ is closed to new replies.