Comment Section Crashing The Website

Posted in: Newspaper
Post count: 4

The issue is with the theme’s comments template file. When commenting is active, that template file is throwing a 500 server error due to what appears to be a line in the file trying to load another file via require_once that doesn’t exist.

A post loads its comments
The query to retrieve the comments is sent to the database
The PHP process fails with 500 errors because of that coding issue
When the database server tries to send the data back to the PHP process, it hangs because the process doesn’t exist anymore

this issue crashes the web application and requires me to disable comments throughout the website for the database to not crash. what can I do about this issue in order to get comments back on the site without having this?

The error message when comments are enabled throughout the site: “Error establishing a database connection”

Post count: 21065

Hello!

Please try these steps: https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wordpress/
500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
Check those guides: https://forum.tagdiv.com/general-options-may-interfere-newspaper-theme/ -> https://eu.siteground.com/kb/internal_server_error_500/
Let the host provider know about those issues as well, maybe he can guide you.

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.