Categories
Blog News

Plugin Problems

The last 3 days, I had some plugin problems which caused me some pain in managing my site. After installing a plugin (my bad, I think it was for the previous version of WordPress), I got lots and lots of ‘wrong valuetype’ errors in wp_settings.php and wp_plugins.php.

The blog site itself worked without a hitch (oef !) but the admin site was full of the above errors.

I put out a request for help in the WordPress forums, but had no response. At all. I read everywhere that the community is very friendly, but nada on my first query. Perhaps I was not factual enough. I did notice that a lot requests are in those forums, though, mine got swamped almost immediately in other posts.

In the end I found it myself : I had to edit both files, adding (array) to some variables on the offending line numbers (at least the errors also tell you at which line number things went haywire), and clearing the ‘active_plugins’ field in my db to get the plugins working again. It had the value ‘Array’ which I think is just a placeholder.
After doing this, everything worked again, I could Activate and DeActive plugins again, and the active_plugins field got filled with the list of active plugins.

Note to self : before next plugin essay, backup both php files AND do a database dump.

(Visited 21 times, 1 visits today)