Hi
I just upgraded to WP v2.6. I undeleted a bunch of themes that I wasn't using, just leaving my present theme. I then uploaded a new theme that I want to try out but in WP on the Design->Themes Page it doesn't display the theme image under Additional Themes. Instead I get this warning:-
Warning: Invalid argument supplied for foreach() in /home/mysite/public_html/wp-admin/themes.php on line 98
Line 98 of themes.php is:-
foreach ( $table as $row => $cols ) {
I did a search on the forums here and came across a suggestion at:-
http://wordpress.org/support/topic/142303?replies=4
So I tried this:-
if (is_array($table) || is_object($table))
foreach ( $table as $row => $cols ) {
Which gets rid of the warning but doesn't display my new theme under Additional Themes.
I'd be grateful for any help...thanks,
Graham