• Hello, I’ve been having this issue since before upgrading to 2.7 (just so people don’t think it’s a 2.7 problem), I am not able to view recently or already there themes that I upload to the themes folder. Currently I one theme in use and two of the default and I cannot see them in the change theme page and only get this message:

    Available Themes

    Fatal error: Cannot use object of type stdClass as array in /home/USER_TAKEN_OUT/public_html/wp-admin/themes.php on line 150

    If someone can please help me, I would greatly appreciate it.

    Merry Christmas!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter roxyd

    (@roxyd)

    Anyone?

    Thread Starter roxyd

    (@roxyd)

    Does anyone have a solution to the above? It would be a big help!

    Hi Roxy,
    I ran into this too, you must edit the themes.php file and place
    $table = array();
    on line 146 as follows:

    $table = array(); <———The missing entry
    $rows = ceil(count($theme_names) / 3);
    for ( $row = 1; $row <= $rows; $row++ )
    for ( $col = 1; $col <= 3; $col++ )
    Line 150—–> $table[$row][$col] = array_shift($theme_names);

    Thread Starter roxyd

    (@roxyd)

    OK, I’m going to try this out! Thanks Propheus!

    Edit: It worked!! Thanks so much!

    I had a different problem. I was using a theme called “55”. i uploaded the theme to the correct place but it just would not show up. I dug around a bit and it looks like WP (at least my v2.7) has problems seeing themes whose names are numbers. I changed the theme name to actual words (say “My Niche Blog Theme”) and now it works fine. To change the theme name, I had to edit the file style.css and change the comment at the top.

    Not sure why this works, but it does. Hopefully this will help someone else who has had problems getting a number-named theme to show up in the Manage Themes area.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t View New Themes’ is closed to new replies.