Title: Fatal error:
Last modified: November 19, 2019

---

# Fatal error:

 *  [Prasanta Ghosh](https://wordpress.org/support/users/gamersdunia16/)
 * (@gamersdunia16)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-3335/)
 * As per WordPress recommendation i updated my php version 7.2 to 7.3. but after
   that My admin page not opening any more , showing 2 fetal errors. when my website
   is opening fine.
 * this error is like:
 * 1.
 * > Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /
   > home/public_html/wp-includes/wp-db.php:1673 Stack trace: #0 /home/public_html/
   > wp-includes/wp-db.php(632): wpdb->db_connect() #1 /home/public_html/wp-includes/
   > load.php(425): wpdb->__construct(‘gamers_wp857’, ‘.28XpSG8[7’, ‘gamers_wp857’,‘
   > localhost’) #2 /home/public_html/wp-settings.php(116): require_wp_db() #3 /
   > home/public_html/wp-config.php(94): require_once(‘/home/…’) #4 /home/public_html/
   > wp-load.php(37): require_once(‘/home/…’) #5 /home/public_html/wp-admin/admin.
   > php(34): require_once(‘/home/…’) #6 /home/public_html/wp-admin/index.php(10):
   > require_once(‘/home/…’) #7 {main} thrown in /home/public_html/wp-includes/wp-
   > db.php on line 1673
 * 2.
 * > Fatal error: Uncaught Error: Call to undefined function wp_kses_normalize_entities()
   > in /home/public_html/wp-includes/formatting.php:4305 Stack trace: #0 /home/
   > public_html/wp-includes/class-wp-fatal-error-handler.php(190): esc_url(‘[https://wordpre…&#8217](https://wordpre…&#8217);)#
   > 1 /home/public_html/wp-includes/class-wp-fatal-error-handler.php(147): WP_Fatal_Error_Handler-
   > >display_default_error_template(Array, false) #2 /home/public_html/wp-includes/
   > class-wp-fatal-error-handler.php(52): WP_Fatal_Error_Handler->display_error_template(
   > Array, false) #3 [internal function]: WP_Fatal_Error_Handler->handle() #4 {
   > main} thrown in /home/public_html/wp-includes/formatting.php on line 4305
 * Please help me with this.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-3335/#post-12150947)
 * 1. Go back to PHP 7.2
 * 2. It appears that your theme or a plugin is having problems with 7.3 *or* your
   host’s PHP 7.3 implementation is missing the correct MySQL libraries. So, (a)
   check with your host and (b) make sure all plugins and themes are up-to-date.
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-3335/#post-12151133)
 * From PHP 7.0 [https://github.com/WordPress/WordPress/blob/master/wp-includes/wp-db.php#L1673](https://github.com/WordPress/WordPress/blob/master/wp-includes/wp-db.php#L1673)
   all the mysql functions are removed, use mysqli instead.
 *  Thread Starter [Prasanta Ghosh](https://wordpress.org/support/users/gamersdunia16/)
 * (@gamersdunia16)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-3335/#post-12151176)
 * when i back to 7.2 every thing working fine. i also updated all my themes and
   plugins . but problem is still there. So contacted to my hosting and waiting 
   for their reply. thank you though.
 *  Thread Starter [Prasanta Ghosh](https://wordpress.org/support/users/gamersdunia16/)
 * (@gamersdunia16)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-3335/#post-12151645)
 * How do i use mysqli ? [@autotutorial](https://wordpress.org/support/users/autotutorial/)
 *  [JayBee](https://wordpress.org/support/users/jbennett360/)
 * (@jbennett360)
 * [6 years ago](https://wordpress.org/support/topic/fatal-error-3335/#post-12763171)
 * I had the same issue.
 * After selecting PHP 7.3, for some reason my host doesn’t select/enable the following
   two options
 * mysqli and pdo_mysql
 * Enabling/checking the tick boxes, sorted this for me.
 * Flagged it with my host.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Fatal error:’ is closed to new replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [JayBee](https://wordpress.org/support/users/jbennett360/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/fatal-error-3335/#post-12763171)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
