Fatal error: Uncaught Error: Call to undefined function mysql_connect()
-
I recently updated wordpress manually and also upgraded php to version 7.3.
My website displays the following error:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/pancelah/public_html/wp-includes/wp-db.php:1643 Stack trace: #0 /home/pancelah/public_html/wp-includes/wp-db.php(639): wpdb->db_connect() #1 /home/pancelah/public_html/wp-includes/load.php(427): wpdb->__construct(”, ‘(‘, ”, ‘localhost’) #2 /home/pancelah/public_html/wp-settings.php(120): require_wp_db() #3 /home/pancelah/public_html/wp-config.php(90): require_once(‘/home/pancelah/…’) #4 /home/pancelah/public_html/wp-load.php(37): require_once(‘/home/pancelah/…’) #5 /home/pancelah/public_html/wp-blog-header.php(13): require_once(‘/home/pancelah/…’) #6 /home/pancelah/public_html/index.php(17): require(‘/home/pancelah/…’) #7 {main} thrown in /home/pancelah/public_html/wp-includes/wp-db.php on line 1643
The site is experiencing technical difficulties.I can’t even login to the website via php-admin all I get is “Index of /wp-admin”
How do I fix this.
P.S I’m not an advanced developer so and would really appreciate an answer that’s more or less for a newbie.
Any help will be highly appreciated.
ThanksThe page I need help with: [log in to see the link]
- The topic ‘Fatal error: Uncaught Error: Call to undefined function mysql_connect()’ is closed to new replies.