Warning: array_keys() [function.array-keys] error after updating WordPress

  • Do you like this?

First off, I would like to apologize to those who still visits Chino Yray Dot Com. Anyway, this is about the WordPress update error “Warning: array_keys() [function.array-keys]:”

How did it happen?

After installing the latest WordPress update, my blog suddenly stopped working and for almost a week, it gave this 500 error and the “Warning: array_keys()” error. So the culprit is definitely the latest WordPress update.

How to fix the problem?

Simple. In the latest WordPress software (2.6.1), look for the new wp-config.php and look for this newly added line:

define(‘DB_CHARSET’, ‘utf8′);

Apparently, my SQL database for this blog is on ‘latin1_swedish_ci’ so if you have the same case as mine, just change the ‘utf8′ to ‘latin1_swedish_ci’ and it should look like this:

define(‘DB_CHARSET’, ‘latin1_swedish_ci’);

What if my SQL is not in ‘latin1_swedish_ci’ ?

Then go to your database or phpMyAdmin then check your blog’s database. Check the type of text that it uses.

Hopefully this will help a lot of WordPress users out there who just updated to version 2.6.1 or Version “Tyner”.

GameTap - Buy and Download Hundreds of PC Hits!

This entry was posted in Miscellaneous. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Comment

  1. Posted August 22, 2008 at 6:12 am | Permalink

    New worpdress update?
    I wasn’t aware of that, I’m still with 2.5something

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

blog comments powered by Disqus
  • Subscribe to receive news to your inbox
  • Be a Vampire in Second Life. It's FREE! Join now >>