Błąd aktualizacji do wersji 5.7
-
Dzień Dobry,
Nie mogę zaktualizować WP do wersji 5.7. Włączyłem DEBUG i mam odpowiedź:Notice: Wywołana metoda konstruktora klasy WP_Widget w VMenuWidget jest przestarzała od wersji 4.3.0! Zamiast niej użyj
__construct()
. in /home/rochmn/domains/roch.krakow.pl/public_html/wp-includes/functions.php on line 3956
Notice: Wywołana metoda konstruktora klasy WP_Widget w LoginWidget jest przestarzała od wersji 4.3.0! Zamiast niej użyj
__construct()
. in /home/rochmn/domains/roch.krakow.pl/public_html/wp-includes/functions.php on line 3956Przeglądnąłem functions.php i mam takie dane:
if ( WP_DEBUG && apply_filters( 'deprecated_constructor_trigger_error', true ) ) { if ( function_exists( '__' ) ) { if ( ! empty( $parent_class ) ) { /* translators: 1: PHP class name, 2: PHP parent class name, 3: version number, 4: __construct() method */ trigger_error( sprintf( __( 'The called constructor method for %1$s in %2$s is <strong>deprecated</strong> since version %3$s! Use %4$s instead.' ), $class, $parent_class, $version, '<pre>__construct()</pre>' ) ); } else { /* translators: 1: PHP class name, 2: version number, 3: __construct() method */ trigger_error( sprintf( __( 'The called constructor method for %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ), $class, $version, '<pre>__construct()</pre>' ) ); } } else { if ( ! empty( $parent_class ) ) { trigger_error( sprintf( 'The called constructor method for %1$s in %2$s is <strong>deprecated</strong> since version %3$s! Use %4$s instead.', $class, $parent_class, $version, '<pre>__construct()</pre>' ) ); } else { trigger_error( sprintf( 'The called constructor method for %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.', $class, $version, '<pre>__construct()</pre>' ) ); } } } }
Liczę na pomoc 🙂
Strona przy której potrzebuję pomocy: [zaloguj się aby zobaczyć ten link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- Temat ‘Błąd aktualizacji do wersji 5.7’ jest zamknięty na nowe odpowiedzi.