• Resolved noplanman

    (@noplanman)


    Not sure when this started happening, but with version 4.1.7 i get the following fatal error, as I use S3 Uploads:

    [08-Jan-2025 21:33:10 UTC] PHP Warning: file_put_contents(): Exclusive locks may only be set for regular files in /wp-content/plugins/backwpup/vendor/inpsyde/backwpup-restore-shared/src/Api/Module/Registry.php on line 161
    [08-Jan-2025 21:33:10 UTC] PHP Fatal error: Uncaught Inpsyde\Restore\Api\Exception\FileSystemException: Could not write Registry file to /wp-content/s3://my-bucket/uploads/backwpup-restore/restore.dat in /wp-content/plugins/backwpup/vendor/inpsyde/backwpup-restore-shared/src/Api/Module/Registry.php:162

    From what I’ve seen, this is due to how the path is put together when setting up the registry.

    On an aside, it would be great to optionally disable the restore functionality altogether via filters. Right now, I’ve had to comment out the following lines in BackWPup_Admin::init() (in /backwpup/inc/class-admin.php) for the error to go away and fix my site:

    // $restore = new Restore();
    // $restore->set_hooks()->init();
    ...
    // add_filter( 'backwpup_admin_pages', [ $this, 'admin_page_restore' ], 7 );
Viewing 1 replies (of 1 total)
  • Plugin Support BackWPUp Support

    (@saranshwpm)

    Hi,

    Thank you for reaching out.

    Is the issue only with the latest version and not the older one?

    I will share this with our developers so they can check and do the needful.

    Best Regards,

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.