WordPress 1.5.1.3 -> 1.5.2 upgrade problem: Presentation tab in admin panel
-
I’ve just upgraded from 1.5.1.3 to 1.5.2 in a test blog I have running (www.gnorb.net/wp/) but ran into some problems within the admin panel. When I go to the Presentation tab I see the following:
Fatal error: Call to a member function on a non-object in /home/virtual/site12/fst/var/www/html/wp/wp-includes/functions.php on line 1491
This is in the “Themes” part. In the Theme Editor part I get the same error except the entire admin panel goes kaput. (Clicking “back” brings back the admin panel in all of its former glory, sans the Presentation stuff.)
When I looked at line 1491 here’s what I saw:
while(($theme_file = $stylish_dir->read()) !== false) {
if ( $theme_file == ‘style.css’ ) {
$theme_files[] = $theme_dir . ‘/’ . $theme_file;
$found_stylesheet = true;
break;
}Where the “while” line is like 1491. What do I need to fix to get my Presentation panel back? ??
Thanks
- The topic ‘WordPress 1.5.1.3 -> 1.5.2 upgrade problem: Presentation tab in admin panel’ is closed to new replies.