Zum Hauptinhalt springen
Blog & News

Aktuelles & Updates von
Joomla, Wordpress und Co.

News, HowTos und Tutorials rund um Webdesign, Webentwicklung, Webhosting und Digitalisierung.

Blog & News

Nach Shopware Update auf 5.6.6. weisse Seite - trackingUniqueId

12.01.2021 · 2 Min Lesezeit

Nach einem Shopware-Update funktioniert der Checkout-Prozess nicht mehr.

[ERROR] core.CRITICAL: An exception occurred while executing 'INSERT INTO s_core_config_values (element_id, shop_id, value) VALUES ( (SELECT id FROM s_core_config_elements WHERE name LIKE 'trackingUniqueId' LIMIT 1), 1, ? )' with params ("s:32:\"8oS3IIbF3gPGNZrZPDDGVYfxp9IubVN0\";"):  SQLSTATE(23000): Integrity constraint violation: 1048 Column 'element_id' cannot be null [] {"uid":"82a0cd3"}

Im ersten Schritt kann man in Shopware selbst die Foreign Keys Reparieren

Anschließend über phpMyAdmin die folgenden SQL-Statements prüfen...

Vermutlich liefert diese Abfrage kein Ergebnis:

SELECT id FROM s_core_config_elements WHERE name LIKE 'trackingUniqueId' LIMIT 1

Da fehlt wohl etwas in der Datenbank.

INSERT INTO s_core_config_elements (form_id, name, value, label, description, type, required, position, scope) VALUES ('0', 'trackingUniqueId', 's:0:"";', 'Unique identifier', '', 'text', '0', '0', '1')

Das kannst du ja mal überprüfen. Sollte "trackingUniqueId" nicht zu finden sein, könntest du dies in der Datenbank wieder anlegen:

INSERT INTO `s_core_config_elements` (`form_id`, `name`, `value`, `label`, `description`, `type`, `required`, `position`, `scope`, `options`) VALUES (269, 'trackingUniqueId', 's:0:"";', 'Unique identifier', NULL, 'text', 0, 0, 0, 'a:1:{s:6:"hidden";b:1;}');

Quelle:

https://forum.shopware.com/discussion/comment/231894/#Comment_231894

https://forum.shopware.com/discussion/66598/nach-update-auf-5-6-6-weisse-seite

Zurück zur Übersicht