Tuesday, 12 November 2019

How to remove this "Warning: array_shift() expects parameter 1 to be array, null given in.." from wordpress website?

Warning: array_shift() expects parameter 1 to be array, null given in..

Open wp-config.php file for your WordPress website Edit the file and find the definition for WP_DEBUG it will somewhat look like: define('WP_DEBUG', true);

Change it to: define( 'WP_DEBUG', false );

Save the file, and check your website now.

No comments:

Post a Comment