Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
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
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.
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.
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!!