• Resolved Steffen Wenzel

    (@steffen-wenzel)


    Server ist running PHP 7.4.16 and Version 4.0.4 is working. Same site (with 4.1.0) is running fine on two local environments. I’m having trouble localizing the source. Error message is:

    [11-Jun-2024 11:04:32 UTC] PHP Fatal error:  Uncaught TypeError: Argument 2 passed to Inpsyde\Restore\Api\Module\Manifest\ManifestFile::__construct() must be an instance of Symfony\Contracts\Translation\TranslatorInterface, instance of Symfony\Component\Translation\Translator given, called in /var/www/html/wp-content/plugins/backwpup/src/Infrastructure/Restore/commons.php on line 245 and defined in /var/www/html/wp-content/plugins/backwpup/vendor/inpsyde/backwpup-restore-shared/src/Api/Module/Manifest/ManifestFile.php:34
    Stack trace:
    #0 /var/www/html/wp-content/plugins/backwpup/src/Infrastructure/Restore/commons.php(245): Inpsyde\Restore\Api\Module\Manifest\ManifestFile->__construct()
    #1 /var/www/html/wp-content/plugins/backwpup/vendor/pimple/pimple/src/Pimple/Container.php(122): Inpsyde\BackWPup\Infrastructure\Restore\{closure}()
    #2 /var/www/html/wp-content/plugins/backwpup/src/Infrastructure/Restore/commons.php(183): Pimple\Container->offsetGet()
    #3 /var/www/html/wp-content/plugins/backwpup/vendor/pimple/pimpl in /var/www/html/wp-content/plugins/backwpup/vendor/inpsyde/backwpup-restore-shared/src/Api/Module/Manifest/ManifestFile.php on line 34

    So it may stem from the newly added restore feature for the free version. But it’s probably environment-related because no one else seems to be having this problem. Any ideas where I can look?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support BWU Support

    (@saranshwpm)

    Hello,

    Thank you for reaching out to us and providing the error details.

    The issue you’re experiencing seems to be related to the Symphony Translator. It appears that there might be another plugin on your site that uses an older version (<= 3.4) of the Symphony Translator, which is causing this conflict.

    To resolve this, you can try the following steps:

    • Check for Conflicting Plugins: Disable other plugins one by one to identify which one might be using the older version of the Symphony Translator.
    • Update Plugins: Ensure all your plugins are updated to the latest versions, as newer versions might have updated their dependencies.

      If you still encounter issues, please let us know, and we’ll be happy to assist further.

    Best regards,

    Thread Starter Steffen Wenzel

    (@steffen-wenzel)

    Yes, you are right, thank you! It was the Symphony Translator which came from an old depedency in the theme. Fixed it by updating the theme.

    Plugin Support BWU Support

    (@saranshwpm)

    Hi,

    Thank you for letting us know! I’m glad to hear you were able to resolve the issue by updating the theme.

    Feel free to open a new ticket if you encounter any other issues. If you’re happy with our plugin, we would appreciate it if you could leave us a review: https://www.ads-software.com/support/plugin/backwpup/reviews/#new-post.

    Best regards,

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