-
Notifications
You must be signed in to change notification settings - Fork 4
Cannot autowire argument $client #3
Comments
Hi, I am facing the same problem: |
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
<#3 (comment)>,
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: |
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! |
@shopware Please update this repository. Spend some time on this outdated example. |
I have the same error message
|
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?
The text was updated successfully, but these errors were encountered: