search

Home  >  Q&A  >  body text

A serious error occurred on this website. The error message cannot be obtained without access logs.

<p>WordPress has encountered a<code>serious error on the website. </code></p> <p>The theme works fine without the plugin on my local machine. </p> <p>I'm using cpanel and don't have server log files. </p> <p>Is there a way to display errors? </p>
P粉738676186P粉738676186504 days ago496

reply all(1)I'll reply

  • P粉031492081

    P粉0314920812023-08-11 09:45:01

    You can turn on the WP Debug feature and let WordPress tell you what’s wrong with your website.

    Find the wp-config.php of your WordPress file, then click on the three-dot option and select Edit. To enable WP_Debug, change the last line to: define('WP_DEBUG', true). To disable WP_Debug, change the last line to: define('WP_DEBUG', false).

    Hope it’s useful

    reply
    0
  • Cancelreply