I used the Simple Trackback Validation plugin for a while until I noticed these errors showing up in php_errors.
PHP Fatal error: Cannot instantiate non-existent class: snoopy in /home/www/wp-content/plugins/simple-trackback-validation/simple-trackback-validation.php on line 158
This morning I decided to fix it as the spammers have been going crazy. I spotted dozens of POST requests to trackbacks as I tailed my log files.
How to fix the plugin:
- Open simple-trackback-validation.php in a text editor and go to line 158. It should be this line:
$stbvSnoopy = new Snoopy;
- Above that line, add the folloing line:
include_once( ABSPATH . 'wp-includes/class-snoopy.php' );
- Save the file and upload to your host again.
Or, as I’ve just done because this blog is being inundated with trackback spam right now (over 17,000 in the last 9 hours), I blocked off access completely with this rewrite rule. Any WordPress blog will send a pingback anyway and MT even supports pingback now!
RewriteRule ^(.*)/trackback/ - [F]
You might also like