Title: WSOD after posting first comment
Last modified: August 31, 2016

---

# WSOD after posting first comment

 *  Resolved [gwouten](https://wordpress.org/support/users/gwouten/)
 * (@gwouten)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/wsod-after-posting-first-comment/)
 * Hi,
 * TL;DR: the first comment I posted worked, avery other one after that gives WSOD.
 * So what happened:
 * I activated the comments for every post on my site. After that I tried to comment
   while logged in as admin and that worked fine. Then when I wanted to see if the
   notifications arrived at the correct emailaddress I made a second comment, but
   that just gave me WSOD.
 * Then I updated to 4.5 and I could post 1 comment as admin, after that, same story
   as above: every time I try to post a comment: WSOD.
 * I have tried to disable all plugins, set the default theme, cleared the cache,
   increased the memory, checked the provider. None of this worked. Below is the
   debug.log:
 *     ```
       [14-Apr-2016 15:27:50 UTC] PHP Notice:  add_object_page is <strong>deprecated</strong> since version 4.5! Use add_menu_page() instead. in /var/www/clients/client2/web15/web/wp-includes/functions.php on line 3662
       [14-Apr-2016 15:27:56 UTC] PHP Notice:  add_object_page is <strong>deprecated</strong> since version 4.5! Use add_menu_page() instead. in /var/www/clients/client2/web15/web/wp-includes/functions.php on line 3662
       [14-Apr-2016 15:28:15 UTC] PHP Notice:  add_object_page is <strong>deprecated</strong> since version 4.5! Use add_menu_page() instead. in /var/www/clients/client2/web15/web/wp-includes/functions.php on line 3662
       [14-Apr-2016 15:28:17 UTC] PHP Notice:  add_object_page is <strong>deprecated</strong> since version 4.5! Use add_menu_page() instead. in /var/www/clients/client2/web15/web/wp-includes/functions.php on line 3662
       [14-Apr-2016 15:28:56 UTC] PHP Notice:  add_object_page is <strong>deprecated</strong> since version 4.5! Use add_menu_page() instead. in /var/www/clients/client2/web15/web/wp-includes/functions.php on line 3662
       [14-Apr-2016 15:28:59 UTC] PHP Notice:  add_object_page is <strong>deprecated</strong> since version 4.5! Use add_menu_page() instead. in /var/www/clients/client2/web15/web/wp-includes/functions.php on line 3662
       [14-Apr-2016 15:29:15 UTC] PHP Notice:  add_object_page is <strong>deprecated</strong> since version 4.5! Use add_menu_page() instead. in /var/www/clients/client2/web15/web/wp-includes/functions.php on line 3662
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  add_object_page is <strong>deprecated</strong> since version 4.5! Use add_menu_page() instead. in /var/www/clients/client2/web15/web/wp-includes/functions.php on line 3662
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_main_rating in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_main_rating in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_main_rating in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_main_rating in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_main_rating in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_rating_partial in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_ in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_ in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_ in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_ in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_ in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_ in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_ in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_ in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_ in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  Undefined index: tmnf_ in /var/www/clients/client2/web15/web/wp-content/themes/blockmagazine/functions/posttypes/post-metabox.php on line 542
       [14-Apr-2016 15:29:20 UTC] PHP Notice:  add_object_page is <strong>deprecated</strong> since version 4.5! Use add_menu_page() instead. in /var/www/clients/client2/web15/web/wp-includes/functions.php on line 3662
       ```
   
 * Any ideas?
 * Thanks!

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/wsod-after-posting-first-comment/#post-7277156)
 * Sounds like a plugin or theme function is out of date.
 * Try deactivating all plugins. If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, try switching to the Twenty Sixteen theme
   to rule-out a theme-specific issue (theme functions can interfere like plugins).
 *  Thread Starter [gwouten](https://wordpress.org/support/users/gwouten/)
 * (@gwouten)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/wsod-after-posting-first-comment/#post-7277167)
 * Hi James,
 * I already tried that and the problem persists. What baffles me the most, is the
   fact that I did manage to post a comment, but only once…
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/wsod-after-posting-first-comment/#post-7277223)
 * The problem persisted under the Twenty Sixteen theme with all plugins deactivate?
   Very odd.
 * Try [downloading WordPress](https://wordpress.org/download/) again, access your
   server via [SFTP or FTP](https://codex.wordpress.org/FTP_Clients), or a file 
   manager in your hosting account’s control panel, and delete then replace your
   copies of everything on the server **except** the `wp-config.php` file and the`/
   wp-content/` directory with fresh copies from the download. This will effectively
   replace all of your core files without damaging your content and settings.
 * Some uploaders tend to be unreliable when overwriting files, so don’t forget 
   to delete the original files before replacing them.
 *  Thread Starter [gwouten](https://wordpress.org/support/users/gwouten/)
 * (@gwouten)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/wsod-after-posting-first-comment/#post-7277302)
 * Hi James,
 * I downloaded WordPress again and when I unzipped the package I noticed the wp-
   comments-post.php file and tried to just replace file first, before replacing
   everything else.
 * And this actually fixed the problem!
 * So thanks for the ideas, if it wasn’t for your suggestion, I never would’ve thought
   of doing this 😉
 * Cheers!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/wsod-after-posting-first-comment/#post-7277303)
 * You’re welcome!

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

The topic ‘WSOD after posting first comment’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [WSOD](https://wordpress.org/support/topic-tag/wsod/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/wsod-after-posting-first-comment/#post-7277303)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
