Answer ( 1 )

  1. To Fix PHP Errors and Warnings in WordPress, you need to edit a line of code from the wp-config.php file.
    Open the wp-config.php file with editing permission, find the following line:
    define(‘WP_DEBUG’, true);
    Now make the WP_DEBUG into false from true like the below code:
    define(‘WP_DEBUG’, false);
    If it’s already false, remove the line and add the below code:
    ini_set(‘error_reporting’, E_ALL );
    define(‘WP_DEBUG’, false);
    define(‘WP_DEBUG_DISPLAY’, false);
    Save the file and the errors will not show up again.

    The code is also available here:

Leave an answer

Choose from here the video type.

Put here the video id : Ex: 'sdUUx5FdySs'.

What is the capital of USA? ( Washington )