Replies: 0
After updating php 7.1 to 7.4 on my cpanel I am getting these erros.
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/automobiles/public_html/wp-includes/wp-db.php:1685 Stack trace: #0 /home/automobiles/public_html/wp-includes/wp-db.php(632): wpdb->db_connect() #1 /home/automobiles/public_html/wp-includes/load.php(527): wpdb->__construct() #2 /home/automobiles/public_html/wp-settings.php(124): require_wp_db() #3 /home/automobiles/public_html/wp-config.php(93): require_once('/home/automobil...') #4 /home/automobiles/public_html/wp-load.php(37): require_once('/home/automobil...') #5 /home/automobiles/public_html/wp-blog-header.php(13): require_once('/home/automobil...') #6 /home/automobiles/public_html/index.php(17): require('/home/automobil...') #7 {main} thrown in /home/automobiles/public_html/wp-includes/wp-db.php on line 1685
How can I fix this issue ?
Thanks everyone in advance