the-general
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Attempted to fix “array key” issue – created more problemsI went into my FTP site and deleted and replaced both the wp-admin and wp-includes folders from a back-up.
I had accidentally put my updated wp-config.php file in the wrong place!!
After deleting the old wp-config file and installing the updated file the site was back up and running. Unfortunately the original problem was still there.
Which was the “Warning: array_keys() [function.array-keys]: The first argument should be an array in ” problem. I re-read the post here – https://www.ads-software.com/support/topic/172272?replies=40
And discovered that I had missed the post by Otto42. I went back and followed his directions. Since I was unable to get into my wp-admin page I edited my database as instructed.
If you go and edit all your text widgets and then save changes, this should go away. Worst case, manually edit your database, find the widget_text row in wp_options, and remove it. Then put your text widgets back.
This solved the problem. Before trying anything else to resolve the array issue, please try this first!
Thank you Otto42!
Forum: Fixing WordPress
In reply to: Warning: array_keys() [function.array-keys]:Like all of you that wrote in I had this problem as well. I went through and tried the many suggestions posted here and managed to really screw things up bad.
So bad that a two year old site defaulted to a new installation!! I was mad as heck!!
I went back through this and noticed that someone had thanked Otto42. So I went and looked at what he wrote. It seems like the first time I read his reply I missed it.
If you go and edit all your text widgets and then save changes, this should go away. Worst case, manually edit your database, find the widget_text row in wp_options, and remove it. Then put your text widgets back.
This solved the problem. Before trying anything else please try this first!
Thank you Otto42!