Issue after Serverswitch– class-wp-hook.php on line 286
-
Hello! I’m having issues with an error, I moved my WordPress to another server (my provider just switched to a newer one without my help) and now I get this error in the frontend and backend:
Warning: session_start() expects parameter 1 to be array, string given in /…/wp-includes/class-wp-hook.php on line 286
Warning: Cannot modify header information – headers already sent by (output started at /…/wp-includes/class-wp-hook.php:286) in /…/wp-includes/pluggable.php on line 1219
I even deactivated the theme to make sure it was not an issue with divi and also I removed every plugin and still get this error. Could anyone please help me resolve this problem? Thanks!
For now I added this code to my wp-config:
ini_set(‘display_errors’,’Off’);
ini_set(‘error_reporting’, E_ALL );
define(‘WP_DEBUG’, false);
define(‘WP_DEBUG_DISPLAY’, false);this helped, now I can call the website again but there seems to be a deeper problem, right?
The topic ‘Issue after Serverswitch– class-wp-hook.php on line 286’ is closed to new replies.