Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Fatal error: Uncaught Error: Call to undefined function

$
0
0

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

  • This topic was modified 10 minutes ago by shamim8585.
  • This topic was modified 5 minutes ago by Marius L. J.. Reason: Fixed code formatting

Viewing all articles
Browse latest Browse all 59525

Trending Articles