2.5 problems: Fatal error with string offsets in widgets.php on line 340
I recently updated my version of WordPress from 2.3 to 2.5. The first thing that happened was that K2, the theme I’m using, conflicted with the new widgetized dashboard of WP 2.5. I got the
Call to undefined function wp_register_sidebar_widget() in */wp-admin/includes/dashboard.php at line 31
error that was solved here, but before I tried that I had already gone and changed the folder name of the K2 theme to try and force WordPress to use the default theme.
After the folder name change, and now it doesn’t matter if I change it back, I get this error:
Fatal error: Cannot unset string offsets in */wp-includes/widgets.php on line 340
I have no idea why, but apparently it’s something about widgets. A quick check in the widgets.php in question, line 340 prints:
And here is where I don’t know where to look further. I can’t access any of the WordPress files without getting the fatal error above. Does anyone know what is causing this problem? I tried searching for it but couldn’t find anyone else with the same problem.
- The topic ‘2.5 problems: Fatal error with string offsets in widgets.php on line 340’ is closed to new replies.