Tagged: php warnings
Hi There
Yesterday I updated my website to WordPress 5.1, since then I have noticed a number of PHP warning messages in the cPanel. The website is working fine, although still under construction. Could someone please look at the warnings for me.
Cheers J
Version 7.1.26
Hi Byrne,
Please add this to your wp-config.php
// Turn debugging on
define('WP_DEBUG', true);
// Tell WordPress to log everything to /wp-content/debug.log
define('WP_DEBUG_LOG', true);
// Turn off the display of error messages on your site
define('WP_DEBUG_DISPLAY', false);
// For good measure, you can also add the follow code, which will hide errors from being displayed on-screen
@ini_set('display_errors', 0);
Best regards,
Victoria