Поддержка Проблемы и решения При обновлении или добавлении записи пустая страница w

  • Привет всем, WPюзеры. Практикуюсь в работе с WP. Перенес сайт с одного домена на другой и после чего при обновлении или добавлении записи через админку меня переносит на пустую страницу wp-admin/post.php. Запись добавляется и все ок, но постоянно приходится возвращаться назад, чтобы продолжить работу. Скопировал файл post.php со старого хоста, но все равно это не помогло. Лог ошибок хостинг не выдает. Кто сталкивался, подскажите пожалуйста?

Просмотр 2 ответов — с 1 по 2 (всего 2)
  • Модератор Sergey Biryukov

    (@sergeybiryukov)

    Live and Learn

    Автор medi_evil

    (@medi_evil)

    Спасибо, Сергей. Было много уведомлений из-за плагина Audio-Player и uLogin. Теперь не понимаю в чем дело с данной строкой

    Notice: wp_register_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 /home/u305321218/public_html/wp-includes/functions.php on line 3049

    На этой линии у меня расположено следующее

    // Allow plugin to filter the output error trigger
    if ( WP_DEBUG && apply_filters( ‘doing_it_wrong_trigger_error’, true ) ) {
    if ( function_exists( ‘__’ ) ) {
    $version = is_null( $version ) ? » : sprintf( __( ‘(This message was added in version %s.)’ ), $version );
    $message .= ‘ ‘ . __( ‘Please see Debugging in WordPress for more information.’ );
    trigger_error( sprintf( __( ‘%1$s was called incorrectly. %2$s %3$s’ ), $function, $message, $version ) );
    } else {
    $version = is_null( $version ) ? » : sprintf( ‘(This message was added in version %s.)’, $version );
    $message .= ‘ Please see Debugging in WordPress for more information.’;
    trigger_error( sprintf( ‘%1$s was called incorrectly. %2$s %3$s’, $function, $message, $version ) );

    Конкретнее данная строка
    trigger_error( sprintf( __( ‘%1$s was called incorrectly. %2$s %3$s’ ), $function, $message, $version ) );

    Что скажете?

Просмотр 2 ответов — с 1 по 2 (всего 2)
  • Тема «При обновлении или добавлении записи пустая страница w» закрыта для новых ответов.