Folgender Fall:
- existierender Artikel mit Bildern
- Bildern entfernen
- MEHRERE Bilder gleichzeitig hochladen
- bis hierher: alles in Ordnung.
- SPEICHER klicken → Fehlermeldung im Backend: „Bitte füllen alle Pflichtfelder aus“
Lösung: Bilder einzeln nacheinander hochladen.
Der Fehler tritt auch beim Upload über die API auf!
Fehlermeldung im LOG:
[2022-04-27T07:07:21.701660+00:00] php.CRITICAL: Uncaught Error: Call to a member function getFlag() on null {„exception“:"[object] (Error(code: 0): Call to a member function getFlag() on null at /var/www/html/schwarzwaldmetzgerei/vendor/shopware/core/Framework/DataAbstractionLayer/Write/EntityWriter.php:272)"}
[2022-04-27T07:07:21.702368+00:00] request.CRITICAL: Uncaught PHP Exception Error: „Call to a member function getFlag() on null“ at /var/www/html/schwarzwaldmetzgerei/vendor/shopware/core/Framework/DataAbstractionLayer/Write/EntityWriter.php line 272 {„exception“:"[object] (Error(code: 0): Call to a member function getFlag() on null at /var/www/html/schwarzwaldmetzgerei/vendor/shopware/core/Framework/DataAbstractionLayer/Write/EntityWriter.php:272)"}
[2022-04-27T07:07:34.185042+00:00] php.CRITICAL: Uncaught Error: Call to a member function getFlag() on null {„exception“:"[object] (Error(code: 0): Call to a member function getFlag() on null at /var/www/html/schwarzwaldmetzgerei/vendor/shopware/core/Framework/DataAbstractionLayer/Write/EntityWriter.php:272)"}
[2022-04-27T07:07:34.185734+00:00] request.CRITICAL: Uncaught PHP Exception Error: „Call to a member function getFlag() on null“ at /var/www/html/schwarzwaldmetzgerei/vendor/shopware/core/Framework/DataAbstractionLayer/Write/EntityWriter.php line 272 {„exception“:"[object] (Error(code: 0): Call to a member function getFlag() on null at /var/www/html/schwarzwaldmetzgerei/vendor/shopware/core/Framework/DataAbstractionLayer/Write/EntityWriter.php:272)"}