Fatal Core Error when updating to PHP8
-
All plugins and themes are up to date.
Running WP 6.03Switched from PHP7.4 to PHP8.0 and get “WordPress Critical Error” message.
This is the error log.
PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /home/customer/www/mysite.com/public_html/wp-includes/load.php:40 Stack trace: #0 /home/customer/www/mysite.com/public_html/wp-includes/load.php(40): array_merge(Array, NULL) #1 /home/customer/www/mysite.com/public_html/wp-settings.php(71): wp_fix_server_vars() #2 /home/customer/www/mysite.com/public_html/wp-config.php(75): require_once('/home/customer/...') #3 /home/customer/www/mysite.com/public_html/wp-load.php(50): require_once('/home/customer/...') #4 /home/customer/www/mysite.com/public_html/wp-blog-header.php(13): require_once('/home/customer/...') #5 /home/customer/www/mysite.com/public_html/index.php(17): require('/home/customer/...') #6 {main} thrown in /home/customer/www/mysite.com/public_html/wp-includes/load.php on line 40
Only references I can see are to core files so how would I go about debugging this?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fatal Core Error when updating to PHP8’ is closed to new replies.