Alright, I just updated Akismet and the “Warning: Missing argument 2 for wp_widget() in /home/content/b/l/a/blah/html/pushedbuttonsburning-in/wp-includes/widgets.php on line 76” line of death appeared at the top of the blog. Turn Akismet off, the problem rectifies itself. But, obviously, this is not the best solution – Akismet is very, very necessary.
Line 76 in the widgets.php is:
What do I need to add here to get back in business?
Thanks in advance.
Check your wp-config.php file and look for
Change ‘true’ to ‘false’ (and don’t use the single-quotes around them). This should stop those error messages from being displayed.
Well, It was already false, so I tried ‘true’ (without quotes!) and the site disappeared, replaced by:
Parse error: syntax error, unexpected T_STRING in /home/content/j/a/s/jasonmaris/html/pushedbuttonsburning-in/wp-config.php on line 25
I changed it back to false, but the site remains locked in this mess.
That means that there’s an error in the Akismet plugin. You can fix this (hint: it’s not at the line that’s in that error, but in a different file that’s calling the widget). Anything that you change will be over-written by any future updates though.
I’d suggest that you let the Akismet people know so that they can fix their plugin, or they can tell you what’s gone wrong.
Not being much of a code jockey, I just deleted the Akismet plugin but to no avail. Looks like I’m about to have a radical redesign.
The other reports that I’ve seen with this error have all been on hosts using PHP 4. Current versions of WordPress and the Akismet plugin all require PHP 5.2 or higher.
- The topic ‘Plugin causing trouble – the real problem: Trouble plugin is Akismet!’ is closed to new replies.