Shopware: Debug SQL Queries on the CLI
You are trying to debug a Command, ScheduledTask or Message on the queue? Symfony Profiler and toolbar For the frontend it is easy, you can just use the Symfony Profiler – easily activated by turning on the dev mode. This can be done, by changing APP_ENV=“prod“ to APP_ENV=“dev“ in your .env file. And then you„Shopware: Debug SQL Queries on the CLI“ weiterlesen
MessengerPass::getServiceClass() must be of the type string, null returned
You are implement a scheduled task in Shopware 6 and get a weird error message? Then you maybe copied the classnames of your TaskHandler and/or Task with a \ prefix. This is wrong: This is correct: The difference? The id: I hope this helps someone 🙂
Shopware: UpdateCommand vs InsertCommand
You get a weird error, because you try to update a product, but for some reason instead you get: In my case, I had the wrong seperator. Shopware uses ; as a default, but LibreOffice is using , as a default. My laziness cost me nearly 2 hours – don’t be me 🙂
Shopware 6: Cannot access private property Namespace\Class::$property
You have this error? More trace is at the end of the post. The properties of your Entity need to be protected.
Wird geladen…
Es ist ein Fehler aufgetreten. Bitte aktualisiere die Seite und/oder versuche es erneut.