| Subscribe via RSS

Wordpress Upgrade Issues

January 22nd, 2008 Posted in non music, wordpress

Eagle eyed ones might’ve noticed that for a bit back there, errors were all over the place up in this blog spouting out such tidbits as:

Warning: array_key_exists() [function.array-key-exists]:

The first argument should be either a string or an integer in /home/classif5/public_html/wp-includes/category-template.php on line 176

Which happened after upgrading to Wordpress 2.3.2. To fix this problem I changed:

<?php if ( in_category($AsideId) && !is_single() ) : ?>

To:

<?php if ( $AsideID != '' && in_category($AsideId) && !is_single() ) : ?>

In the main index template, and tada! All working again. Hopefully this will help anyone else having the same problem. If anybody sees anything else gone awry, let please me know!

Leave a Reply