Open alphapb opened 3 years ago
Hi, have you solved the issue?
I am facing the same problem: Cannot autowire argument $client of "App\Controller\OrderController::orderPlacedEvent()": it references class "App\SwagAppsystem\Client" but no such service exists.
Hi, the shopwareLabs/AppExample is not current anymore, its deprecated. Use shopware/AppTemplate instead.
Am 26.09.2021 um 01:15 schrieb DannyDan:
Hi, have you solved the issue?
I am facing the same problem: Cannot autowire argument $client of "App\Controller\OrderController::orderPlacedEvent()": it references class "App\SwagAppsystem\Client" but no such service exists.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/shopwareLabs/AppExample/issues/3#issuecomment-927196978, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVENPWVSLJ54GVVLR5SQR43UDZJ2BANCNFSM5BZYFXJQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
--
Agentur für Digitale Markenwelten
@. @.> fon 02303. 929 5000
alphanauten GmbH & Co. KG Gürtelstr. 9 59423 Unna
Amtsgericht: Hamm HRA 4052 Finanzamt Unna Steuernummer: 316/5802/1420 USt-IdNr.: DE309904751
Thanks for the response. I will try it with AppTemplate then, but its a little confusing in the docs: "At first, you need to clone the app template from GitHub and create a manifest.xml for your app. Or take a glance at our fully working example based on this template: appExample."
Hmm, same problem with the "AppTemplate" project. "Cannot autowire" :(
OK, just got the info, that the docs are totally outdated and the sample project is in a total different repository! https://github.com/shopware/AppTemplate @shopware: please take the time to update your docs in time to save the developers valuable time!
@shopware Please update this repository. Spend some time on this outdated example.
I have the same error message
I found that when I access the api without these parameters or wrong value, the error msg ( it references class "App\SwagAppsystem\Client" but no such service exists.
) will appear
Hi,
im trying out App-Development and am so far done with a local docker-development-setup. The ExampleApp can be installed/registered. Using the routes though there is always "500 Internal server error". First with message
Cannot autowire argument $client of "App\Controller\OrderController::iframeOrderList()": it references class "App\SwagAppsystem\Client" but no such service exists.
If you change constructor of Client-Class from private to public the next error shows same message for Credentials and when you put the constructor from Credentials to public instead of private it then gives error about "shopUrl" type-hinted by string should be configured explicitly.What am i doing wrong?