• Resolved sweden1

    (@sweden1)


    This is the second fatal crash I have had at (two different) plugin update, so I experimented a little, but I am no WP expert.

    By mistake I made a fatal error in a plugin of my own, only affecting my own site. But I installed this plugin when it was deactivated. When I tried to activate the plugin, WP kept working (no crash), WP did not activate the plugin and even told me in which line the error was.

    So the logic of that is:
    You should always deactivate a plugin when you update it. If the plugin has a fatal error your site will then not not go down, not even when you activate it.

    Is that correct?

    • This topic was modified 3 years, 12 months ago by sweden1.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor VeronaLabs Support

    (@veronalabs)

    Hi,

    I’m very sorry for what happened.

    We tried our best last week and release an update yesterday. Please update your plugin to v13.0.4.

    Again, we apologize for this inconvenience.

    Have a safe and nice weekend.

    Best,

    Upon updating to 13.0.4 today, I received the following at the bottom of the plugin update screen:

    Disabling Maintenance mode…
    
    <strong>Fatal error:</strong> Uncaught Error: Class 'WP_Statistics_Updates' not found in /home/[account]/public_html/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-welcome.php:78 Stack trace: #0 /home/[account]/public_html/wp-includes/class-wp-hook.php(287): WP_Statistics_Welcome::do_welcome(Object(Plugin_Upgrader), Array) #1 /home/[account]/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #2 /home/[account]/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/[account]/public_html/wp-admin/includes/class-plugin-upgrader.php(371): do_action('upgrader_proces...', Object(Plugin_Upgrader), Array) #4 /home/[account]/public_html/wp-admin/update.php(51): Plugin_Upgrader->bulk_upgrade(Array) #5 {main} thrown in /home/[account]/public_html/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-welcome.php on line 78
    
    There has been a critical error on your website. Please check your site admin email inbox for instructions.
    Plugin Contributor VeronaLabs Support

    (@veronalabs)

    Hi @daedalon,

    If you do not have any other problem with the plugin, you can ignore this error. Because it belongs to our previous version and occurs once, while updating to the new version, and it doesn’t cause any problem.

    Feel free to get in touch in case you need anything else.

    Best,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to avoid fatal crash at plugin update?’ is closed to new replies.