Title: Updating WordPress
Last modified: August 30, 2016

---

# Updating WordPress

 *  [mandela04](https://wordpress.org/support/users/mandela04/)
 * (@mandela04)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/updating-wordpress-26/)
 * Hi i currently updated my wordpress to the latest version and i am having this
   error **“Notice: The called constructor method for WP_Widget is deprecated since
   version 4.3.0! Use
    __construct() instead. in /home/jemangtrade/public_html/wp-
   includes/functions.php on line 3457″ my problem is i dont know how to fix that
   please any assistance is appreciated??? I need to know how to fix this??

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

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [10 years, 9 months ago](https://wordpress.org/support/topic/updating-wordpress-26/#post-6450665)
 * Move to How-To and Troubleshooting, please only use the Installation sub-forum
   for new install problems.
 * It’s your theme or plugin that’s using an unsupported WP_widget. From the Master
   4.3 list:
 * [https://wordpress.org/support/topic/read-this-first-%e2%80%93-wordpress-43-master-list?replies=4&view=all#post-7314897](https://wordpress.org/support/topic/read-this-first-%e2%80%93-wordpress-43-master-list?replies=4&view=all#post-7314897)
 * >  _WP\_Widget error_
   > If you are getting this message on your WordPress installation:
   >     ```
   >     The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
   >     __construct()
   >     ```
   > 
   > Then your theme or plugin need to be updated. As a temporary work around look
   > for `define( 'WP_DEBUG' true );` in your `wp-config.php` file and set that 
   > to `false`.
   > That only causes the warning to not be displayed, [the theme or plugin should be updated](https://make.wordpress.org/core/2015/07/02/deprecating-php4-style-constructors-in-wordpress-4-3/).
 * The short version? Please have the author fix your theme or plugin. For a temporary
   fix set `define( 'WP_DEBUG' true );` in your `wp-config.php` file and set that
   to `false`.
 *  Thread Starter [mandela04](https://wordpress.org/support/users/mandela04/)
 * (@mandela04)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/updating-wordpress-26/#post-6450793)
 * All good. Thanks
 *  Thread Starter [mandela04](https://wordpress.org/support/users/mandela04/)
 * (@mandela04)
 * [10 years ago](https://wordpress.org/support/topic/updating-wordpress-26/#post-6451059)
 * Hi! So due to some on foreseen situations, i did not login nor update my site
   for i think more than five months now. But as i tried to access the site recently
   i got this error message
 * **(Warning: mysqli_real_connect(): (28000/1045): Access denied for user ‘jemangtrade’@’localhost’(
   using password: YES) in /home/jemangtrade/public_html/wp-includes/wp-db.php on
   line 1452**
 * Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed
   in the future: use mysqli or PDO instead in /home/jemangtrade/public_html/wp-
   includes/wp-db.php on line 1482
 * Warning: mysql_connect(): Access denied for user ‘jemangtrade’@’localhost’ (using
   password: YES) in /home/jemangtrade/public_html/wp-includes/wp-db.php on line
   1482
 * Error establishing a database connection
 * This either means that the username and password information in your wp-config.
   php file is incorrect or we can’t contact the database server at localhost. This
   could mean your host’s database server is down.
 *  Are you sure you have the correct username and password?
    Are you sure that 
   you have typed the correct hostname? Are you sure that the database server is
   running?
 * If you’re unsure what these terms mean you should probably contact your host.
   If you still need help you can always visit the WordPress Support Forums.)
 * Checking my error_log file i saw this
 * **[17-Feb-2016 23:21:05 UTC] PHP Deprecated: mysql_connect(): The mysql extension
   is deprecated and will be removed in the future: use mysqli or PDO instead in/
   home/jemangtrade/public_html/wp-includes/wp-db.php on line 1482** and i don’t
   know what that means and no idea how to go about resolving the problem. Please
   any help is appreciated!!

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

The topic ‘Updating WordPress’ is closed to new replies.

## Tags

 * [installing](https://wordpress.org/support/topic-tag/installing/)
 * [update](https://wordpress.org/support/topic-tag/update/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [mandela04](https://wordpress.org/support/users/mandela04/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/updating-wordpress-26/#post-6451059)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
