Title: Moderation.php Error
Last modified: August 18, 2016

---

# Moderation.php Error

 *  [Bink](https://wordpress.org/support/users/bink/)
 * (@bink)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/moderationphp-error/)
 * Hello,
 * I did a search a few times for my error messages and “moderation.ph” without 
   the quotes and did not come up with anything. I also “googled” my errors and 
   did not find an answer.
 * I’m hoping someone here may help me or point me in the right direction.
 * Here is my problem:
 * I have tried several times to turn off the “Optional Comment Moderation” plugin
   by Colin D. Devroe. It shows as “activate” letting me know it is not activated.
   However, I’m still receiving comments in the “Awaiting Moderation” field under
   the Admin Panel. How is this possible?
 * When I set them as “Spam” and click on “moderation” I get these error messages:
 * Warning: Invalid argument supplied for foreach() in /home2/kimmie/public_html/
   wp-admin/moderation.php on line 26
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home2/kimmie/public_html/wp-admin/moderation.php:26) in /home2/kimmie/public_html/
   wp-admin/moderation.php on line 71
 * I have deleted my moderation.php file and replaced it with WordPress’s latest
   version. This was to no change.
 * Please help me correct this error message and stop comments from being moderated.
   How can you uninstall a plugin if it does not want to place nice and not work
   when you so command?
 * All help is greatly appreciated.
 * Thank you.

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

 *  [Austin Matzko](https://wordpress.org/support/users/filosofo/)
 * (@filosofo)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/moderationphp-error/#post-394478)
 * First of all, the errors are probably being caused by space either before the
   first `<?php` or after the last `?>` of some plugin, maybe the one you mention.
 * Second, you can un-install a plugin simply by deleting it from the wp-content/
   plugins directory.
 * Third, WordPress will sometimes put comments in the moderation queue by itself,
   so it may not be the plugin doing it.
 *  Thread Starter [Bink](https://wordpress.org/support/users/bink/)
 * (@bink)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/moderationphp-error/#post-394657)
 * Thanks for your answer. I appreciate your help.

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

The topic ‘Moderation.php Error’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Bink](https://wordpress.org/support/users/bink/)
 * Last activity: [19 years, 11 months ago](https://wordpress.org/support/topic/moderationphp-error/#post-394657)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
