Symfony/Shopware: Get useable queries
Fabian Blechschmidt
I hope all of you know the debug toolbar which can be installed with Symfony.
One of the big problems – until today for me was, that the query parameters are shown as UTF-8 binary strings, which is not helpful.
Today I learned, that under each of these queries you have four buttons:
View formatted query
View runnable query
Explain query
View query backtrace
And the second „View runnable query“ does exactly what it says: It shows you a runnable version of the query, including all UUIDs as in the X’UUID‘ syntax.
This tip was brought to me by Soner Sayakci.
Other articles from this category
Two Bitbucket Pipelines runners, one ID, and a git clone error for a directory that wasn’t there
A pipeline run failed with this: Fine, I thought, some leftover build directory, I’ll just rm -rf it and re-run. Except the directory wasn’t there. I checked. Twice. Git was very sure a non-empty directory existed at that exact path a few seconds ago, and the filesystem was equally sure it had never heard of […]
Monitoring our own product-export feeds with n8n and OhDear (and a bug I found while writing this)
Last post was about how a product export can get stuck forever after a queue worker gets OOM-killed mid-generation — is_running never resets, the export silently stops updating, and nothing in Shopware tells you. That post is exactly why this workflow exists. We run about 20 product-export feeds across several shops (Google Shopping, Idealo, Geizhals, […]
product-export:generate does nothing — until you turn off „Generate via scheduler“
We run several product exports (Google Shopping, a couple of price comparison feeds) with „Generate via scheduler“ checked in the Sales Channel settings. One night the queue worker died with an OOM kill — two big exports had become due in the same tick and the box didn’t have RAM for both at once. Fine, […]