error when switch to php 8
-
Hello
since my hosting provider declared that it’s safe to move to php 8, then i tried to switch to php 8.
unfortunatelly i got an error, based my debug.log this is the error reported
[17-Feb-2021 03:32:58 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/xxxxxxx/public_html/wp-includes/wp-db.php:1685 Stack trace: #0 /home/xxxxxxx/public_html/wp-includes/wp-db.php(632): wpdb->db_connect() #1 /home/xxxxxxx/public_html/wp-includes/load.php(527): wpdb->__construct() #2 /home/xxxxxxx/public_html/wp-settings.php(124): require_wp_db() #3 /home/xxxxxxx/public_html/wp-config.php(97): require_once('/home/xxxxxxx/...') #4 /home/xxxxxxx/public_html/wp-load.php(37): require_once('/home/xxxxxxx/...') #5 /home/xxxxxxx/public_html/wp-blog-header.php(13): require_once('/home/xxxxxxx/...') #6 /home/xxxxxxx/public_html/index.php(17): require('/home/xxxxxxx/...') #7 {main} thrown in /home/xxxxxxx/public_html/wp-includes/wp-db.php on line 1685
i’am using storefront theme and very minimal plugin.
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘error when switch to php 8’ is closed to new replies.