Display PHP error in wordpress site
-
- Posts: 25
- Joined: Fri Nov 18, 2016 3:36 pm
- Os: CentOS 6x
- Web: apache + nginx
Display PHP error in wordpress site
Hi, I have few sites use wordpress, long time ago, I can debug it and see any errors display, but now I can't see it, they only way to see is go to vestacp dashboard and check the errorlog, how I can debug my code without go to vestacp dashboard?
Thank so much for all advices.
Thank so much for all advices.
Re: Display PHP error in wordpress site
Add the following to your wp-config.php file,
Code: Select all
define( 'WP_DEBUG', true );