Wordpress Errors

[Solved] Wordpress Errors | Php - Code Explorer | yomemimo.com
Question : display wordpress error

Answered by : yogesh-joshi

/* provided by [email protected] */
/* add in config file */
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );
define( 'SCRIPT_DEBUG', true );
define( 'SAVEQUERIES', true );
/* add in function.php file */
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

Source : | Last Update : Wed, 10 Mar 21

Question : wordpress errors

Answered by : gtamborero

// DEVELOP (wp-config.php)
@ini_set( 'log_errors', 'On' );
@ini_set( 'display_errors', 'On' );
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );
define( 'SCRIPT_DEBUG', true );
define('SAVEQUERIES', true);
define ('FS_METHOD', 'direct');
// PRODUCTION (wp-config.php)
@ini_set( 'log_errors', 'On' );
@ini_set( 'display_errors', 'Off' );
define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', false );
define( 'WP_DEBUG_DISPLAY', false );
define( 'SCRIPT_DEBUG', false );
define( 'EMPTY_TRASH_DAYS', 30 ); // 30 days
define( 'WP_POST_REVISIONS', 8 );

Source : | Last Update : Thu, 27 Jan 22

Question : wordpress disable errors

Answered by : gtamborero

//inside wp-config.php
@ini_set( 'log_errors', 'Off' );
@ini_set( 'display_errors', 'Off' );
define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', false );
define( 'WP_DEBUG_DISPLAY', false );
define( 'SCRIPT_DEBUG', false );

Source : | Last Update : Tue, 05 Oct 21

Answers related to wordpress errors

Code Explorer Popular Question For Php