Deprecated wp_widget from version 4.3.0

wordpress

#1

Hi People, need help as well. I cannot access login, the website loop
After I put in wp_config define(‘WP_DEBUG’, true); i received this :

(english) Notice: The method of construction recalled for WP_Widget is deprecated from version 4.3.0! To use instead**
__construct()**
_. in /web/htdocs/www.idreamgreece.com/home/wp-includes/functions.php on _
Notice: Il metodo di costruzione richiamato per WP_Widget è deprecato dalla versione 4.3.0! Utilizzare invece
__construct()
. in /web/htdocs/www.idreamgreece.com/home/wp-includes/functions.php on line 3624

Notice: Il metodo di costruzione richiamato per WP_Widget è deprecato dalla versione 4.3.0! Utilizzare invece
__construct()
. in /web/htdocs/www.idreamgreece.com/home/wp-includes/functions.php on line 3624l
ine 3e sul624**

_Error database di WordPress: [INSERT,UPDATE command denied to user ‘Sql843078’@‘62.149.145.104’ for table ‘wp_options’] INSERT INTO wp_options (option_name, option_value, autoload) VALUES ('transient_doing_cron’, ‘1460329063.3024609088897705078125’, ‘yes’) ON DUPLICATE KEY UPDATE option_name = VALUES(option_name), option_value = VALUES(option_value), autoload = VALUES(autoload)**
Errore sul database di WordPress: [INSERT,UPDATE command denied to user ‘Sql843078’@‘62.149.145.104’ for table ‘wp_wfConfig’] insert into wp_wfConfig (name, val) values (‘totalLoginHits’, ‘7914’) ON DUPLICATE KEY UPDATE val=‘7914’**

I went in fuction.php and i found this

line 3624
if ( WP_DEBUG && apply_filters( ‘deprecated_constructor_trigger_error’, true ) ) {
if ( function_exists( ‘__’ ) ) {
_trigger_error( sprintf( _( ‘The called constructor method for %1$s is deprecated since version %2$s! Use %3$s instead.’ ), $class, $version, '
__construct()
’ ) );
} else {
trigger_error( sprintf( ‘The called constructor method for %1$s is deprecated since version %2$s! Use %3$s instead.’, $class, $version, '
__construct()
’ ) );
}
Can you tell me a bit more
Thank you

Lorenzi


#2

Regarding the widget notices, your widgets are using outdated PHP 4 constructor, you/widget author needs to update it.

I don’t know whats going on with that database error but you should not post your database username and IP address publicly like this, someone might try attacking it, even if they don’t succeed they will waste your server’s resources.


#3

ok thank you how to upgrade the new version if i cannot log in anymore?


#4

You can always update via FTP, it’s probably explained in your theme’s documentation.


#5

thank you. I will try tonight