• 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:
    “return $new_instance;”

    What do I need to add here to get back in business?

    Thanks in advance.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Check your wp-config.php file and look for

    define(‘WP_DEBUG’, true);

    Change ‘true’ to ‘false’ (and don’t use the single-quotes around them). This should stop those error messages from being displayed.

    Thread Starter MarsHottentot

    (@marshottentot)

    Fantastic! Thank you so much!

    Thread Starter MarsHottentot

    (@marshottentot)

    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.

    Thread Starter MarsHottentot

    (@marshottentot)

    Line 25 is blank.

    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.

    Thread Starter MarsHottentot

    (@marshottentot)

    Yeah, will do. Thanks!

    Thread Starter MarsHottentot

    (@marshottentot)

    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.

    Thread Starter MarsHottentot

    (@marshottentot)

    Joseph – you’re absolutely right – I’m not able to update WordPress because my site is PHP4.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Plugin causing trouble – the real problem: Trouble plugin is Akismet!’ is closed to new replies.