Title: Receiving Empty Spam Comments
Last modified: September 2, 2016

---

# Receiving Empty Spam Comments

 *  [NiallASD](https://wordpress.org/support/users/niallasd/)
 * (@niallasd)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/receiving-empty-spam-comments/)
 * Hi all,
 * I’ve been receiving a lot of empty comments through a PHP form on my site and
   it’s caused my CPU usage to go beyond my host’s allocated limit. The admin area
   of my site is also loading very slowly as a result.
 * I’ve removed my email address from the PHP forms, but the spam keeps coming –
   I know it’s my form as it uses the formatting I made.
 * The comments come from random areas of my site such as `http://greencastleparish.
   com/wordpress/wp-admin/index.php` and I seem to receive them when I’m moving 
   been sections of the admin area.
 * Here is a sample of my error log for today so far:
 * > Sep 02, 11:03:44 PHP Warning: preg_match(): Compilation failed: nothing to 
   > repeat at offset 1 in /home/www/greencastleparish.com/wordpress/wp-includes/
   > class-wp.php on line 231
   >  Sep 02, 11:03:44 PHP Warning: preg_match(): Compilation
   > failed: nothing to repeat at offset 1 in /home/www/greencastleparish.com/wordpress/
   > wp-includes/class-wp.php on line 232 Sep 02, 11:03:44 PHP Warning: preg_match():
   > Compilation failed: nothing to repeat at offset 1 in /home/www/greencastleparish.
   > com/wordpress/wp-includes/class-wp.php on line 231 Sep 02, 11:03:44 PHP Warning:
   > preg_match(): Compilation failed: nothing to repeat at offset 1 in /home/www/
   > greencastleparish.com/wordpress/wp-includes/class-wp.php on line 232 Sep 02,
   > 11:06:00 PHP Notice: Undefined offset: 1 in /home/www/greencastleparish.com/
   > wordpress/wp-content/plugins/page-theme/pageTheme.php on line 31
 * This has been happening within the last month or so.
 * [Here is a page with one of my forms](http://greencastleparish.com/wordpress/contact-us)
 * I’d really appreciate any help, this has left me very concerned and stressed 
   out.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Dabliu Pee](https://wordpress.org/support/users/dabliupee/)
 * (@dabliupee)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/receiving-empty-spam-comments/#post-7722017)
 * Hi.,
 * Try to use [akismet plugin](https://wordpress.org/plugins/akismet/)
 *  Thread Starter [NiallASD](https://wordpress.org/support/users/niallasd/)
 * (@niallasd)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/receiving-empty-spam-comments/#post-7722048)
 * Thanks for the reply, Akismet tells me it blocked 2 spam attacks in August but
   that’s all.
 *  Thread Starter [NiallASD](https://wordpress.org/support/users/niallasd/)
 * (@niallasd)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/receiving-empty-spam-comments/#post-7722092)
 * The last spam comment came from `http://greencastleparish.com/wordpress/wp-admin/
   admin.php?page=akismet-key-config` – I had just checked my Akismet plugin (as
   I said in my previous post)
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 9 months ago](https://wordpress.org/support/topic/receiving-empty-spam-comments/#post-7722185)
 * > I’ve been receiving a lot of empty comments <
 * I can’t fill in your contact-us form at all; it does not respond to me (though
   I can check the “I am not a robot” checkbox.
 * What plugin are you using for your forms? It looks to me like you might be rolling
   your own. Have you considered using a form plugin from the WordPress library?
 * I also see some reference to “sumome”, so if they’re tied into your contact system,
   you may want to post question in their support area.
 * I also note a bunch of errors on the site:
 *     ```
       http://greencastleparish.com/images/sidebar/winterscenes2015.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
       http://greencastleparish.com/wordpress/wp-content/themes/greencastleparish/js/jquery.nicescroll.min.js?ver=3.5.1 Failed to load resource: the server responded with a status of 404 (Not Found)
       http://greencastleparish.com/wordpress/wp-content/themes/greencastleparish/js/jquery.parallax-1.1.3.js?ver=1.1.3 Failed to load resource: the server responded with a status of 404 (Not Found)
       http://greencastleparish.com/wordpress/wp-content/themes/greencastleparish/js/jquery.nicescroll.min.js?ver=3.5.1 Failed to load resource: the server responded with a status of 404 (Not Found)
       http://greencastleparish.com/images/sidebar/winterscenes2015.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
       ```
   
 *  Thread Starter [NiallASD](https://wordpress.org/support/users/niallasd/)
 * (@niallasd)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/receiving-empty-spam-comments/#post-7723100)
 * It won’t fill in for me, though it does on the mobile version.
 * It’s a self-made PHP form I made on a previous website that did not use WordPress
   and I’d like to keep it as I can’t seem to get the red prompts to function any
   other way, is it possible with a plugin (and keep the CSS style)?
 * [Here is a form that functions](http://greencastleparish.com/wordpress/olw-jubilee/olw-jubilee-contact-us),
   you can see the red prompts if you click ‘Submit’ without filling anything in.
 * I don’t understand what you mean by ‘surnome’.
 * Are the errors connected to this issue?
 * I will remove the forms altogether after I receive a reply to this and see how
   that leaves me.
 * Cheers!
 *  Thread Starter [NiallASD](https://wordpress.org/support/users/niallasd/)
 * (@niallasd)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/receiving-empty-spam-comments/#post-8133422)
 * Incidentally, I use the very same form on [this site](http://adrenalinegaa.com/contact-us/)
   and never had any problems there.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Receiving Empty Spam Comments’ is closed to new replies.

## Tags

 * [empty](https://wordpress.org/support/topic-tag/empty/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [NiallASD](https://wordpress.org/support/users/niallasd/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/receiving-empty-spam-comments/#post-8133422)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
