I got this PHP error :
Notice: Constant
WP_CRON_LOCK_TIMEOUT
already defined in /htdocs/wp-config.php on line 195
I don’t understand because when I do a search in the wordpress project with the word WP_CRON_LOCK_TIMEOUT
I got just this result :
How PHP can say WP_CRON_LOCK_TIMEOUT
is already defined if the second code line in default-constants.php
is wrapped by a condition like this :
if ( !defined( 'WP_CRON_LOCK_TIMEOUT' ) )
define('WP_CRON_LOCK_TIMEOUT', 60); // In seconds
Notice : I did a google search and a load of web sites appeared with this error in the description so it’s a common error.