• EN:

    When updating the plugin from 12.6.13 to 13.0.5, it gave an error

    Update failed: The site has encountered a critical error. Please check your admin email inbox for further instructions. Read this article on debugging in WordPress to find the source of the problem on your site.

    I downloaded the archive from the site, unpacked it. the pages seem to be working in the admin panel.
    but a letter came in the mail:

    ========================
    Hello!

    Since version 5.2 WordPress can detect errors with plugins or themes on the site and send you such messages automatically.

    This time WordPress found a bug with one of the plugins – WP Statistics.

    First go to your website (https:// xxx.xxxx.xx/) and check for any visible problems. Next, go to the page where the error occurred (https:// xxx.xxxx.xx/wp-admin/admin-ajax.php?_fs_blog_admin=true) and check the visible problems on it.

    0

    Please contact hosting technical support for further diagnostics of this problem.

    If your site is broken and you cannot log into the console normally, you can now use a special “recovery mode” that will allow you to safely enter the console for further actions.

    https:// xxx.xxxx.xx/wp-login.php?action=enter_recovery_mode&rm_token=N8CDwOeFKNNiKXjD4RPsdh&rm_key=9N76c9zFpp2TsxLvg19gtp

    For security reasons, this link will expire after 1 day. But don’t worry, if the error occurs again after this time, a new link will be sent to you.

    To solve the problem, you need the following information:

    WordPress 5.6 version
    Current topic: Telegraph (version 1.0.9)
    Problem plugin: WP Statistics (version 13.0.5)
    PHP version 7.0.33-0 + deb9u10

    Error details
    ===================================
    An error with type E_ERROR occurred on line 78 of the file /var/www/u7439/data/wp/xxx.xxxx.xx/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-welcome.php. Error message: Uncaught Error: Class ‘WP_Statistics_Updates’ not found in /var/www/u7439/data/wp/xxx.xxxx.xx/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-welcome.php:78
    Stack trace:
    #0 /var/www/u7439/data/wp/xxx.xxxx.xx/wp-includes/class-wp-hook.php(287): WP_Statistics_Welcome::do_welcome(Object(Plugin_Upgrader), Array)
    #1 /var/www/u7439/data/wp/xxx.xxxx.xx/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/u7439/data/wp/xxx.xxxx.xx/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #3 /var/www/u7439/data/wp/xxx.xxxx.xx/wp-admin/includes/class-plugin-upgrader.php(371): do_action(‘upgrader_proces…’, Object(Plugin_Upgrader), Array)
    #4 /var/www/u7439/data/wp/xxx.xxxx.xx/wp-admin/includes/ajax-actions.php(4452): Plugin_Upgrader->bulk_upgrade(Array)
    #5 /var/www/u7439/data/wp/xxx.xxxx.xx/wp-includes/class-wp-hook.php(287): wp_ajax_update_plugin(”)
    #6 /var/www/u7439/data/wp/xxx.xxxx.xx/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #7 /var/www/

    * * *

    RU:

    Во время обновления плагина с 12.6.13 до 13.0.5 выдало ошибку

    Обновление не удалось: На сайте возникла критическая ошибка. Пожалуйста, проверьте входящие сообщения почты администратора для дальнейших инструкций.Прочитайте эту статью про отладку в WordPress, для того, чтобы найти источник проблемы на вашем сайте.

    я скачал архив с сайта, распаковал. вроде бы в админке страницы работают.
    но на почту пришло письмо:

    ========================
    Привет!

    Начиная с версии 5.2 WordPress может определять возникающие ошибки с плагинами или темой на сайте и присылать вам подобные сообщения автоматически.

    В этот раз WordPress нашел ошибку с одним из плагинов – WP Statistics.

    Сначала зайдите на ваш сайт (https:// xxx.xxxx.xx/) и проверьте все видимые проблемы. Далее, зайдите на страницу, на которой возникла ошибка (https:// xxx.xxxx.xx/wp-admin/admin-ajax.php?_fs_blog_admin=true) и проверьте видимые проблемы на ней.

    0

    Пожалуйста, обратитесь в техническую поддержку хостинга для дальнейшей диагностики этой проблемы.

    Если ваш сайт сломан и вы не сможете нормально войти в консоль, теперь можно использовать специальный “режим восстановления”, который позволит безопасно войти в консоль для дальнейших действий.

    https:// xxx.xxxx.xx/wp-login.php?action=enter_recovery_mode&rm_token=N8CDwOeFKNNiKXjD4RPsdh&rm_key=9N76c9zFpp2TsxLvg19gtp

    В целях безопасности действие этой ссылки истекает через 1 день. Но не беспокойтесь, если ошибка возникнет снова по истечении этого времени, то вам будет выслана новая ссылка.

    Для решения проблемы вам потребуется следующая информация:

    Версия WordPress 5.6
    Текущая тема: Telegraph (версия 1.0.9)
    Проблемный плагин: WP Statistics (версия 13.0.5)
    Версия PHP 7.0.33-0+deb9u10

    Подробности ошибки
    ===================================
    Ошибка с типом E_ERROR возникла на строке 78 файла /var/www/u7439/data/wp/xxx.xxxx.xx/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-welcome.php. Сообщение об ошибке: Uncaught Error: Class ‘WP_Statistics_Updates’ not found in /var/www/u7439/data/wp/xxx.xxxx.xx/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-welcome.php:78
    Stack trace:
    #0 /var/www/u7439/data/wp/xxx.xxxx.xx/wp-includes/class-wp-hook.php(287): WP_Statistics_Welcome::do_welcome(Object(Plugin_Upgrader), Array)
    #1 /var/www/u7439/data/wp/xxx.xxxx.xx/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/u7439/data/wp/xxx.xxxx.xx/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #3 /var/www/u7439/data/wp/xxx.xxxx.xx/wp-admin/includes/class-plugin-upgrader.php(371): do_action(‘upgrader_proces…’, Object(Plugin_Upgrader), Array)
    #4 /var/www/u7439/data/wp/xxx.xxxx.xx/wp-admin/includes/ajax-actions.php(4452): Plugin_Upgrader->bulk_upgrade(Array)
    #5 /var/www/u7439/data/wp/xxx.xxxx.xx/wp-includes/class-wp-hook.php(287): wp_ajax_update_plugin(”)
    #6 /var/www/u7439/data/wp/xxx.xxxx.xx/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #7 /var/www/

    • This topic was modified 4 years, 2 months ago by v0van.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘When updating plugin to 13.0.5 E_ERROR class-wp-statistics-welcome.php line 78’ is closed to new replies.