Title: Comments section won&#039;t render: PHP-level 404 error
Last modified: August 30, 2016

---

# Comments section won't render: PHP-level 404 error

 *  [kirklandyuknis](https://wordpress.org/support/users/kirklandyuknis/)
 * (@kirklandyuknis)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/comments-section-wont-render-php-level-404-error/)
 * We’ve had a problem on the site JeffStockdale.com on the posts pages. In the 
   section that’s supposed to have comment data we see a 404 error message. Upon
   initial inspection via my browser’s developer tools, it appears to not be a resource
   issues so far as the browser is concerned, making me think that this is a string
   being echoed through some set of try-catch blocks in PHP code.
 * Example of issue: [http://jeffstockdale.com/2015/11/26/i-am-thankful-2/](http://jeffstockdale.com/2015/11/26/i-am-thankful-2/)
   (
   Notice at the bottom of the post the 404 error)
 * I have tried disabling all plugins which did not effect the situation in any 
   way. After this, I tried copying the site into a virtual Fedora LAMP and downgrading
   to an older version of WordPress (v3.9.9) which also did not effect the situation.
   Finally, in the virtual machine, I tried to change the theme and still get the
   same issue. This leads me to believe that it is not a plugin, theme, or server
   configuration issue but something to do with WordPress core maybe? Needless to
   say, the problem is going beyond my skill set and I would really appreciate any
   assistance that could be offered regarding this issue. It’s also worth noting
   that a review of the server’s audit logs show not intelligent indication of malicious
   activity. We are not completely sure when the problem first arose, but it was
   first noticed last Monday, 23 November 2015 at 9:27am by one of our users.

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

 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/comments-section-wont-render-php-level-404-error/#post-6791297)
 * Are you using a differnt comment system, or WordPress’s built-in comment management?
 * If it’s the WordPress one, the only way that I can think of for it producing 
   a 404 error like that woudl be if all of the comment template files have been
   removed.
 *  Thread Starter [kirklandyuknis](https://wordpress.org/support/users/kirklandyuknis/)
 * (@kirklandyuknis)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/comments-section-wont-render-php-level-404-error/#post-6791345)
 * We were using the Disqus comment system, but even when it is disabled (within
   the moderation panel as well as the plugins page on WordPress) as well as when
   it is deleted we get the same error. Do you know the default locations of the
   comment templates you suspect may be causing the issue? Thanks for your reply
   btw 🙂
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/comments-section-wont-render-php-level-404-error/#post-6791346)
 * That’s a premium/paid theme. It’s best to go to the support site where you bought
   the theme [http://themesholic.com/](http://themesholic.com/) for help with customizations
   and issues. You paid for support when you bought the theme, so you should contact
   the people who sold you the theme.
 * These forums are for free themes available in the WordPress theme directory at
   [http://wordpress.org/themes/](http://wordpress.org/themes/). See [http://codex.wordpress.org/Forum_Welcome#Commercial_Products](http://codex.wordpress.org/Forum_Welcome#Commercial_Products)
 *  Thread Starter [kirklandyuknis](https://wordpress.org/support/users/kirklandyuknis/)
 * (@kirklandyuknis)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/comments-section-wont-render-php-level-404-error/#post-6791347)
 * songdogtect – We have tried changing the theme to one of the default WordPress
   themes and the problem persisted. For this reason we are operating under the 
   assumption that the theme is not the issue, however we are not discrediting the
   possibility that it is the theme completely. We’re executing an additive diagnostic
   methodology at the moment, if we discover anything new we’ll report it. We will
   open a ticket on the paid theme’s support site per your recommendation, however,
   once again, we are still operating under the assumption that the theme and plugins
   are not at fault.
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/comments-section-wont-render-php-level-404-error/#post-6791348)
 * I’m using a methodology, too, of many years experience. WordPress is not perfect,
   but I doubt it’s a new bug. It’s more than likely the way the theme is trying
   to interact with core. And try replacing all theme files with good copies from
   a new download of the theme.
 *  Thread Starter [kirklandyuknis](https://wordpress.org/support/users/kirklandyuknis/)
 * (@kirklandyuknis)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/comments-section-wont-render-php-level-404-error/#post-6791362)
 * songdogtech – I apologize if I was coming off harshly, I didn’t mean to say you
   were wrong I just wanted to keep the conversation up-to-date as to what we were
   doing on our end. It did turn out to be the theme as you suggested, however Themesholoic
   has not responded to our request or any of the other people that were having 
   the same problem. The thread on their support site can be found here: [http://themesholic.com/support/topic/error-on-each-post-the-requested-url-returned-error-404/#post-1105](http://themesholic.com/support/topic/error-on-each-post-the-requested-url-returned-error-404/#post-1105).
   We are currently using a temporary work-around that involves commenting out a
   php function call in the “wp-content/themes/byron/templates/blog/content-post-
   body.php” file. The line is as follows:
 * `<?php get_template_part( 'templates/blog/social-share' ); ?>`
 * I was wondering if you had any insight on how this might be solved in more depth?
 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/comments-section-wont-render-php-level-404-error/#post-6791363)
 * That’s the problem. As it’s a commercial theme no one here has access to the 
   code that they are using, and because of that, no one here can say how to fix
   that code.
 * If that is the file that’s causing the issues, the standard trouble-shooting 
   that you’d do is to go through it line-by-line to see where the problem is. Mostly
   that’s done by `echo`‘ing out various variables and checks along the way that
   will show just what’s going on with an code that’s included in the file.
 *  Thread Starter [kirklandyuknis](https://wordpress.org/support/users/kirklandyuknis/)
 * (@kirklandyuknis)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/comments-section-wont-render-php-level-404-error/#post-6791365)
 * I understand. Thank you so much everyone that replied, it was greatly appreciated!
   I’ll keep going deeper into the theme’s code and see if I can solve it while 
   waiting for a reply on the Themesholic website. Thanks again!

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

The topic ‘Comments section won't render: PHP-level 404 error’ is closed to new 
replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [footer](https://wordpress.org/support/topic-tag/footer/)
 * [Not Rendering](https://wordpress.org/support/topic-tag/not-rendering/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 3 participants
 * Last reply from: [kirklandyuknis](https://wordpress.org/support/users/kirklandyuknis/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/comments-section-wont-render-php-level-404-error/#post-6791365)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
