[wp-trac] [WordPress Trac] #52671: Fatal error: Uncaught Error: Call to undefined function mysql_connect()

WordPress Trac noreply at wordpress.org
Sat Feb 27 07:54:03 UTC 2021


#52671: Fatal error: Uncaught Error: Call to undefined function mysql_connect()
--------------------------+------------------------------
 Reporter:  zeebzwp       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * resolution:  invalid => duplicate
 * component:  General => Database


Old description:

> Fatal error: Uncaught Error: Call to undefined function mysql_connect()
> in /home/zee46846/public_html/wp-includes/wp-db.php:1670 Stack trace: #0
> /home/zee46846/public_html/wp-includes/wp-db.php(632): wpdb->db_connect()
> #1 /home/zee46846/public_html/wp-includes/load.php(482):
> wpdb->__construct('zee46846_wp965', 'C99-xSZ]6p', 'zee46846_wp965',
> 'localhost') #2 /home/zee46846/public_html/wp-settings.php(124):
> require_wp_db() #3 /home/zee46846/public_html/wp-config.php(92):
> require_once('/home/zee46846/...') #4 /home/zee46846/public_html/wp-
> load.php(37): require_once('/home/zee46846/...') #5
> /home/zee46846/public_html/wp-blog-header.php(13):
> require_once('/home/zee46846/...') #6
> /home/zee46846/public_html/index.php(17): require('/home/zee46846/...')
> #7 {main} thrown in /home/zee46846/public_html/wp-includes/wp-db.php on
> line 1670
> There has been a critical error on your website.

New description:

 {{{
 Fatal error: Uncaught Error: Call to undefined function mysql_connect() in
 /home/zee46846/public_html/wp-includes/wp-db.php:1670
 Stack trace:
 #0 /home/zee46846/public_html/wp-includes/wp-db.php(632):
 wpdb->db_connect()
 #1 /home/zee46846/public_html/wp-includes/load.php(482):
 wpdb->__construct('zee46846_wp965', 'C99-xSZ]6p', 'zee46846_wp965',
 'localhost')
 #2 /home/zee46846/public_html/wp-settings.php(124): require_wp_db()
 #3 /home/zee46846/public_html/wp-config.php(92):
 require_once('/home/zee46846/...')
 #4 /home/zee46846/public_html/wp-load.php(37):
 require_once('/home/zee46846/...')
 #5 /home/zee46846/public_html/wp-blog-header.php(13):
 require_once('/home/zee46846/...')
 #6 /home/zee46846/public_html/index.php(17): require('/home/zee46846/...')
 #7 {main} thrown in /home/zee46846/public_html/wp-includes/wp-db.php on
 line 1670
 There has been a critical error on your website.
 }}}

--

Comment:

 Hi there, welcome to WordPress Trac!

 Thanks for the report, we're already tracking this issue in #51988.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52671#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list