Can't update the Mollie plugin from 4.2.0 to 4.3.0 on Shopware 6.4.20.0
stepan-twnty opened this issue · 1 comments
Can't update the Mollie plugin from 4.2.0 to 4.3.0 on Shopware 6.4.20.0. I got a few error messages:
-
Uncaught PHP Exception Twig\Error\LoaderError: "The "/home/shopware/custom/plugins/MolliePayments/src/Resources/views" directory does not exist ("/home/shopware/custom/plugins/MolliePayments/src/Resources/views")." at /home/shopware/vendor/twig/twig/src/Loader/FilesystemLoader.php line 92 {"exception":"[object] (Twig\\Error\\LoaderError(code: 0): The \"/home/shopware/custom/plugins/MolliePayments/src/Resources/views\" directory does not exist (\"/home/shopware/custom/plugins/MolliePayments/src/Resources/views\"). at /home/shopware/vendor/twig/twig/src/Loader/FilesystemLoader.php:92)"} []
-
Uncaught PHP Exception Twig\Error\LoaderError: "The "/home/shopware/custom/plugins/MolliePayments/src/Resources/views/../app/storefront/dist" directory does not exist ("/home/shopware/custom/plugins/MolliePayments/src/Resources/views/../app/storefront/dist")." at /home/shopware/vendor/twig/twig/src/Loader/FilesystemLoader.php line 92 {"exception":"[object] (Twig\\Error\\LoaderError(code: 0): The \"/home/shopware/custom/plugins/MolliePayments/src/Resources/views/../app/storefront/dist\" directory does not exist (\"/home/shopware/custom/plugins/MolliePayments/src/Resources/views/../app/storefront/dist\"). at /home/shopware/vendor/twig/twig/src/Loader/FilesystemLoader.php:92)"} []
-
Uncaught Error: Class "Mollie\Api\MollieApiClient" not found {"exception":"[object] (Error(code: 0): Class \"Mollie\\Api\\MollieApiClient\" not found at /home/shopware/custom/plugins/MolliePayments/src/Subscriber/SystemConfigSubscriber.php:39)"} []
-
Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "MollieApiClient" from namespace "Mollie\Api". Did you forget a "use" statement for another namespace?" at /home/shopware/custom/plugins/MolliePayments/src/Subscriber/SystemConfigSubscriber.php line 39 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\ClassNotFoundError(code: 0): Attempted to load class \"MollieApiClient\" from namespace \"Mollie\\Api\".\nDid you forget a \"use\" statement for another namespace? at /home/shopware/custom/plugins/MolliePayments/src/Subscriber/SystemConfigSubscriber.php:39)"} []
I tried to update the plugin via the admin panel.
hi
so, i've first checked out the pipeline, 6.4.20.0 seems to run fine, which is already good
so what happened, we've moved to a custom "checked in" vendor to avoid ambigious class errors with duplicate dependency of the Mollie API php framework that could happen
this means, there is a folder "vendor_manual" that is added as PSR autoload folder and is directly shipped and bundled with the plugin.
i think this is only a problem when updating in your case....could you do the following for me
a) see if a vendor_manual folder exists in the mollie plugin
b) run "composer dump-autoload" in the mollie plugin
then it should actually find the MollieApiClient class again
let me know if it helps