Warning: array_keys() [function.array-keys] error after updating Wordpress
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”.
If you liked this post, buy me a coffee. (Suggested: 3$ for a Caffè Mocha or 6$ if ever I have a date.)
If you enjoyed this post, make sure you subscribe to my RSS feed!
Posted in Miscellaneous |











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