Не могу войти в админку
-
День добрый.
Не был на сайте пару недель. Хотел добавить новость, а в админку зайти не могу.(1).В обычном режиме define(‘WP_DEBUG’, false) на странице админки показывает
Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/plugin.php on line 601 Warning: Parameter 1 to wp_default_styles() expected to be a reference, value given in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/plugin.php on line 601 Warning: Cannot modify header information - headers already sent by (output started at /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/plugin.php:601) in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/pluggable.php on line 1171
А на основном сайте вверху при этом показывает:
Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/plugin.php on line 601 Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/plugin.php on line 601 Warning: Parameter 1 to wp_default_styles() expected to be a reference, value given in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/plugin.php on line 601
(2)Поискал в интернете, зашел через ftp и исправил в wp-config на
define(‘WP_DEBUG’, true);
define( ‘WP_DEBUG_DISPLAY’, false );
@ini_set( ‘display_errors’, 0 );Получил намного больше:
Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/plugin.php on line 601 Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/functions.php on line 3897 Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/functions.php on line 3897 Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/functions.php on line 3897 Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/functions.php on line 3897 Warning: Parameter 1 to wp_default_styles() expected to be a reference, value given in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/plugin.php on line 601 Notice: add_option was called with an argument that is deprecated since version 2.3 with no alternative available. in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/functions.php on line 3844 Notice: Функция wp_deregister_script вызвана неправильно. Скрипты и стили можно регистрировать или добавлять в очередь не раньше действий wp_enqueue_scripts, admin_enqueue_scripts или login_enqueue_scripts. Дополнительную информацию можно найти на странице «Отладка в WordPress». (Это сообщение было добавлено в версии 3.3.) in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/functions.php on line 3897 Notice: Функция wp_register_script вызвана неправильно. Скрипты и стили можно регистрировать или добавлять в очередь не раньше действий wp_enqueue_scripts, admin_enqueue_scripts или login_enqueue_scripts. Дополнительную информацию можно найти на странице «Отладка в WordPress». (Это сообщение было добавлено в версии 3.3.) in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/functions.php on line 3897 Notice: Функция wp_enqueue_script вызвана неправильно. Скрипты и стили можно регистрировать или добавлять в очередь не раньше действий wp_enqueue_scripts, admin_enqueue_scripts или login_enqueue_scripts. Дополнительную информацию можно найти на странице «Отладка в WordPress». (Это сообщение было добавлено в версии 3.3.) in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/functions.php on line 3897 Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/plugin.php on line 601 Warning: Cannot modify header information - headers already sent by (output started at /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/plugin.php:601) in /var/www/u3291259/data/www/zakupki-profstandart.ru/wp-includes/pluggable.php on line 1171
(3) попробовал переименовать папку plugins — не помогло.
Вопрос: что и как тут можно исправить?
До этого сайт работал, ничего в нем не трогал…Страница, с которой нужна помощь: [войдите, чтобы увидеть ссылку]
Просмотр 7 ответов — с 1 по 7 (всего 7)
Просмотр 7 ответов — с 1 по 7 (всего 7)
- Тема «Не могу войти в админку» закрыта для новых ответов.