Quick fix for myJournal Hypereal bugs on WordPress 2.3

October 9th, 2007 § 22

If you have upgraded recently to WordPress 2.3, you’ll notice the following error message appearing either under your sidebars or at the bottom of your blog :


WordPress database error: [Table 'edrop.wp_categories' doesn't exist]
SELECT COUNT(*) FROM wp_categories

This is caused for the simple reason that some codes have been deprecated in the new WordPress 2.3 which causes the above error. It’s really easy to fix this problem, just proceed as follows:

  • Using your favourite FTP program(FileZilla is a good one), navigate to wp-content/themes/myjournal hypereal theme folder and open the footer.php using your favourite text editor.
  • At the top part, find the following code and delete it:
    $numcats = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->categories");
    if (0 < $numcats) $numcats = number_format($numcats);

    Then somewhere at the bottom of the same file, footer.php, find this part :

    extending over <?php echo $numcats; ?> categories and delete it altogether.

That should do it. Hope this helps fixing things quickly.

§ 22 Responses to “Quick fix for myJournal Hypereal bugs on WordPress 2.3”

What's this?

You are currently reading Quick fix for myJournal Hypereal bugs on WordPress 2.3 at BlogoSquare.

meta