MyBB Community Forums

Full Version: [F] Akismet broken [C-Michael83] [C-Chris]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Only putting this in here as this is an 'official' plugin written by MyBB....

When you hit the spam button...

Fatal error: Call to a member function simple_select() on a non-object in C:\xampp\htdocs\mybb14x\inc\plugins\akismet.php on line 320

On both my live forum with 1.4.4, and localhost with latest SVN (4306).
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group
Revision #4308

If you hit the spam button you get this message:
Quote:Invalid Post ID.
The link of the button is correct. There seems to be a problem with these lines in the plugin file:
if(!$post)
{
    error("Invalid Post ID.");
}
If I add print_r($post) in front of the mentioned code I get this:
Array
(
    [username] => admin
    [email] => [email protected]
    [website] => 
    [akismetstopped] => 0
    [message] => This is just a test
    [ipaddress] => 127.0.0.1
    [tid] => 1
    [replyto] => 0
    [fid] => 3
)
Can confirm the error.
hm :\ Now why would it be doing that...
Alright, should be fixed in my next SVN commit
Yep, seems to be ok now.