Search
 
SCRIPT & CODE EXAMPLE
 

PHP

wordpress errors

// 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 );
Comment

PREVIOUS NEXT
Code Example
Php :: how to calculate days between two dates in php 
Php :: The mysqli extension is missing. Please check your PHP configuration. 
Php :: laravel delete confirm link 
Php :: put img in timestamp using php 
Php :: ubuntu 20 phpmyadmin install 
Php :: cut string in php 
Php :: php sql connection string 
Php :: php nested array contains 
Php :: laravel number add 0 before 
Php :: cakephp 404 exception 
Php :: codeigniter 4 pagination descending 
Php :: laravel database connection check 
Php :: php int min 
Php :: Date time format for laravel validation 
Php :: php bbcode tag dellete 
Php :: make a seeding file in laravel 
Php :: laravel grouping routes 
Php :: laravel env google smtp 
Php :: php fpm status check 
Php :: get count of results based on groupBy laravel 
Php :: php configuration 
Php :: laravel redirect back with input 
Php :: groupby in laravel with count 
Php :: add dd function composer 
Php :: laravel get parameters from request 
Php :: used resoure route how to add another route 
Php :: convert 1 digit to five digits laravel 
Php :: get logged user id laravel 
Php :: php get end date of month 
Php :: get country from ip php 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =