• When a plugin update succeeds, but the new version causes a Fatal Error (like what recently happened with WP Crontrol version 1.13.x), you would expect Rollback Update Failure to roll back the offending plugin to the previous version, but alas! Rollback Update Failure isn’t immune to Fatal Errors.

    What it needs is an external Cron process OUTSIDE of WordPress that monitors an update log for an update, followed by Fatal Errors in the PHP error log, and then does what Rollback Update Failure is supposed to do, otherwise WordPress is always going to be susceptible to idiot plugin developers that cause Fatal Errors with plugin updates.

    • This topic was modified 2 years, 3 months ago by thejasonator.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andy Fragen

    (@afragen)

    The plugin updates successfully. There was, in fact, a fatal error in the plugin code which has since been reverted and corrected.

    Rollback is for when the update process fails. It doesn’t ensure the plugin code.

    Plugin Author Andy Fragen

    (@afragen)

    What it needs is an external Cron process OUTSIDE of WordPress that monitors an update log for an update, followed by Fatal Errors in the PHP error log, and then does what Rollback Update Failure is supposed to do, otherwise WordPress is always going to be susceptible to idiot plugin developers that cause Fatal Errors with plugin updates.

    Perhaps you could help work on such a cron, or other process, as you describe.

    John Blackbourn is an exceptional developer. Comments disparaging others leads no where and will not get you the results you desire. We are all people and are therefore fallible, just like our code.

    Perhaps you could test the Rollback Update Failure plugin and let us know your results? https://make.www.ads-software.com/core/2022/06/26/rollback-feature-testing-call-to-action/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Useless against Fatal Errors’ is closed to new replies.