Conversation
supportHello, I am experiencing a conflict between Perfect Images (v7.0.4) and the backup plugin BackWPup. When both plugins are active, any database backup job in BackWPup fails with the following error message: [INFO] Backup file is: XXXXX_DBDUMP-FILE-WPPLUGIN.zip [INFO] Trying to backup database … ERROR: The option "compression" with value null is expected to be of type "string", but is of type "null". When I deactivate Perfect Images, BackWPup works normally and the database is included in the backup. I have already tested this extensively: WordPress, plugins, and themes are fully updated. PHP 8.3 with zip and zlib enabled. Clean environment on a dev server with only Perfect Images + BackWPup active. In this setup, the error is 100% reproducible. It seems that Perfect Images is applying filters/hooks that also affect non-image related compression settings, which results in the compression option being set to null in BackWPup. Steps to reproduce: Install WordPress (clean). Install and activate BackWPup. Create a job with database backup. Run it → works fine. Install and activate Perfect Images. Run the same job again → error occurs. Expected behavior: Perfect Images should not interfere with database backup settings of other plugins. Could you please check this issue? It prevents BackWPup from running successfully as long as Perfect Images is active. Thank you very much for your support!
Hey @sybena ! 👋 The issue was that Perfect Images and BackWPup were both using the same Symfony OptionsResolver vendor but with different versions, which caused a conflict. The next version of Perfect Images will update this vendor so the issue doesn’t happen anymore. Thanks for your patience and understanding!
Hey @sybena ! 👋 The issue was that Perfect Images and BackWPup were both using the same Symfony OptionsResolver vendor but with different versions, which caused a conflict. The next version of Perfect Images will update this vendor so the issue doesn’t happen anymore. Thanks for your patience and understanding!