• While deploying the latest version of the plugin to production via github action, the following error temporarily took down one of our websites.

    PHP Fatal error: Access level to UpdraftPlus_Addons_Migrator::$old_content must be protected (as in class UpdraftPlus_Migrator_Lite) or weaker in /public_html/wp-content/plugins/updraftplus/addons/migrator.php on line 15

    I’ve fixed it manually for now by updating the $old_content variable to be protected instead of private

    I’ve also updated $old_uploads and $uploads as a precaution during my hotfix, though I am not sure its needed.

    Server is running PHP 7.4

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Chris Lagasse

    (@soben)

    While reviewing to make sure my hotfix carries over, I see the migrator.php file not included in the repo, but it still exists on production (uses an non-destructive rsync)

    Plugin Support pbevanudp

    (@pbevanudp)

    Hello,

    Thank you for reporting this, I have passed this on to the development team for further investigation.

    Plugin Support pbevanudp

    (@pbevanudp)

    Hello,

    Would it be possible for you to create a support ticket here please as it involves a paid add-on?

    Thread Starter Chris Lagasse

    (@soben)

    Hey @pbevanudp,

    The more I look into it, it seems like a glitch in the deployment, since it was non-destructive rsync. After this issue and my initial reporting, I did a full replacement of the plugin folder on the server via an SFTP transfer, and the issue did not come up again, so it definitely seemed to be something tied to the autodeployment script.

    Going to mark this as ‘resolved’ — I really appreciate your speed in responding ??

    Plugin Support pbevanudp

    (@pbevanudp)

    Hello,

    You’re welcome – thank you for letting us know, I am glad it’s working.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal Error in `migrator.php`’ is closed to new replies.