Hello i would like to use this plugin and i am facing errors, i was facing this error :
Compile Error: Type of BitBag\SyliusShippingExportPlugin\Controller\ShippingExportController::$repository must be Sylius\Component\Resource\Repository\RepositoryInterface (as in class Sylius\Bundle\ResourceBundle\Controller\ResourceController)
Class "BitBag\OpenMarketplace\SyliusShippingExportPlugin\Controller\ShippingExportController" used for service "bitbag.shipping_export_plugin.controller.shipping_export" cannot be found.
The file is in src/Controller, the namespace is correct i don't really understand why it's not working and i was wondering if anyone delt with this same error or if it's maybe the fact that i'm overiding the Controller.
I am using Sylius v1.11.15, Plugin v1.7.0 and PHP 8.0.26, if i can provide any extra information i will.
Import routing in you app/config/routing.yml:
bitbag_shipping_export_plugin:
resource: "@BitBagSyliusShippingExportPlugin/Resources/config/routing.yml"
prefix: /admin
Hello i would like to use this plugin and i am facing errors, i was facing this error :
So i followed the solution in this issue : https://github.com/BitBagCommerce/SyliusShippingExportPlugin/issues/36
So i decided to override the Controller and add
protected RepositoryInterface $repository;
instead ofprotected $repository;
.Now i added this controller to my services.yaml :
And i am facing this new error now :
The file is in src/Controller, the namespace is correct i don't really understand why it's not working and i was wondering if anyone delt with this same error or if it's maybe the fact that i'm overiding the Controller.
I am using Sylius v1.11.15, Plugin v1.7.0 and PHP 8.0.26, if i can provide any extra information i will.
I am following this article : https://bitbag.io/blog/bitbag-shipping-export-plugin-simple-way-to-control-shipments-in-your-online-store
And starting facing the errors here :