I have a single page on a site I’ve developed that displays comments. Everything works fine locally. In production output of the page completely stops when it hits the <?php comments_template(); ?> line in the page. If I remove the line the page finishes output fine.
The site is using the most recent version of WordPress and all it’s plugins. I’ve tried deactivating plugins and removing any comment related code in the theme files including the body of comments.php to no avail. Even with WP_DEBUG set to true I’m not getting any sort of error generated or logged anywhere that I or my host can find.
Any idea what might be causing the page output to fail on comments_template.php?
The topic ‘Page output stops at comments_template.php line’ is closed to new replies.
(@farneman)
11 years, 1 month ago
I have a single page on a site I’ve developed that displays comments. Everything works fine locally. In production output of the page completely stops when it hits the <?php comments_template(); ?> line in the page. If I remove the line the page finishes output fine.
The site is using the most recent version of WordPress and all it’s plugins. I’ve tried deactivating plugins and removing any comment related code in the theme files including the body of comments.php to no avail. Even with WP_DEBUG set to true I’m not getting any sort of error generated or logged anywhere that I or my host can find.
Any idea what might be causing the page output to fail on comments_template.php?