How do I manage debugging in WordPress?
If you have problems with your WordPress site, activating debugging can help you find out what is wrong. When debugging is active, errors will be shown on the page where they occur.
Note: Normally, debugging is used for development purposes only. Make sure to deactivate it after you have completed troubleshooting, as the error messages can give hackers information about vulnerabilities on your site.
- Log into your one.com Control Panel.
- Scroll down to the tile called Files & Security and click File Manager.
You can also access your File Manager via the link https://filemanager.one.com - Navigate to the directory where you installed WordPress.
- Click on the file wp-config.php to open it in the editor.
- Scroll down to:
define('WP_DEBUG', false);
- Change this to:
define('WP_DEBUG', true);
- Click Save at the top of the screen.
- After you don't need debugging any more, deactivate it by changing the line back to how it was and click Save.
Tip: We recommend that you copy the code exactly as shown above; an extra space or wrong character can affect your whole site.
Did you know?
If you’re facing error messages that you can’t resolve on your own – even with the help of our guides and support – or don't have time to fix them, our WP Troubleshooting service can help.Use the contact form for Premium Care to get details, pricing, and priority assistance.
Related articles: