Home > Programming, php, wordpress > Wordpress 2.8 announced and installed

Wordpress 2.8 announced and installed

The Wordpress version running on this blog is now "2.8-beta1-11380". After the first beta has been announced, i switched the svn installation to trunk again (after having it to branches/2.7) and updated the blog.

There is a problem with gengo though: Right after upgrading i got this warning:

CODE:
  1. Warning: Invalid argument supplied for foreach() in /.../wp-includes/classes.php on line 255

The line in question looks like this:

PHP:
  1. foreach ( $GLOBALS['wp_taxonomies'] as $taxonomy => $t)

I really didn't have the time to get into this, so in order to get the blog going, i used the workaround suggested here and changed the line to:

PHP:
  1. foreach ((array) $GLOBALS['wp_taxonomies'] as $taxonomy => $t)

Categories: Programming, php, wordpress Tags:
  1. May 27th, 2009 at 02:22 | #1

    Have the same problem. I use that workaround and im not experiencing any extrange behavior … so… it should work… thanks for the tip…

    Sharkbitte.

  1. No trackbacks yet.