• Resolved shaythong

    (@shaythong)


    There’s a bug in the latest Akismet 2.1 for WordPress plugin.
    If you get a “Parse error: syntax error, unexpected ‘}'”.

    Just open akismet.php and on line 284 where it says:

    <?php
    }
    
    function akismet_caught() {
    ?>

    Replace with:

    <?php
    
    function akismet_caught() {
    ?>

    But I still get another message caused by Akismet:

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/akismet/akismet.php:283) in /wp-includes/pluggable.php on line 391

    .

Viewing 15 replies - 1 through 15 (of 20 total)
  • I get the Parse error too, but it’s easy to solve.
    I think your second error because of another plugins. Try to disable Akismet and active it again

    Thread Starter shaythong

    (@shaythong)

    Is my fix correct? I don’t think so, but it should be fixed soon.

    It might be better to wait for version 2.1.1 I have the same two issues with a new install of WP (meaning no other plugins except for Akismet

    I’m having the same issue with my blog. Anybody know where I can get the old version again?

    Sorry about that, 2.1.1 is available now and doesn’t have that problem.

    Updated to 2.1.1 and now I am getting this error:

    Warning: Cannot modify header information – headers already sent by (output started at /home/tivoblog/public_html/wp-content/plugins/akismet/akismet.php:283) in /home/tivoblog/public_html/wp-includes/pluggable.php on line 391

    Thoughts?

    The old version has 2 bugs, Parse Error (seem to be fixed) and “Cannot modify header information”. I think everyone still get the 2nd error on 2.1.1

    Nope, not everyone gets the headers error. Me, for example. Upgrade to 2.1.1 and no errors at all. And I’m running about 100 other plugins too.

    count me in on the header error.

    Nope, not everyone gets the headers error. Me, for example. Upgrade to 2.1.1 and no errors at all. And I’m running about 100 other plugins too.

    You don’t get this error when active the plugin. You only get this when Post, Comment…

    I get the error when I try and “Delete All” spam comments.

    Try to install Akismet 2.0, It’s still work.
    We need new version soon

    Where can I find 2.0?

    Where can I find 2.0?

    Just download WordPress 2.3.1 and copy the akismet.php from it…

    (./wordpress/wp-content/plugins/akismet/akismet.php)

    I don’t know why I didn’t think of that…..

    Thanks ??

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Akismet 2.1 Parse Error’ is closed to new replies.