Hallo Seit kurzem lassen sich Kategorien nicht mehr speichern. Das hängt irgendwie mit Attributen zusammen. Ich habe eine Attributfeld mit dem Namen „supplier_id“ vergeben. Im Browser kommt folgende Antwort per Ajax zurück:
{"success":true,"data":{"id":7,"parentId":3,"streamId":null,"name":"Handwerk & Tradition","position":2,"metaTitle":"","metaKeywords":null,"metaDescription":"","cmsHeadline":"","cmsText":"","active":true,"template":null,"productBoxLayout":"image","blog":false,"path":"|3|","external":"","hideFilter":false,"hideTop":false,"changed":new Date(1422215997000),"added":new Date(1422215997000),"mediaId":null,"attribute":{"id":37,"categoryId":7,"attribute1":"","attribute2":"","attribute3":"","attribute4":"","attribute5":"","attribute6":"","connectImportMapping":null,"connectExportMapping":null,"connectImported":null,"connectImportedCategory":null,"supplierId":null},"emotions":[{"id":3,"parentId":null,"active":1,"name":"bree","userId":50,"position":1,"device":"0,1,2,3,4","fullscreen":0,"validFrom":null,"isLandingPage":0,"seoTitle":"","seoKeywords":"","seoDescription":"","validTo":null,"createDate":new Date(1424765991000),"modified":new Date(1424781342000),"rows":20,"cols":3,"cellSpacing":10,"cellHeight":185,"articleHeight":2,"showListing":false,"templateId":1,"mode":"masonry"}],"media":null,"customerGroups":[],"imagePath":null},"total":26}
Fatal error: Uncaught Error: Call to a member function getId() on null in /var/www/DOMAIN/public_html/engine/Shopware/Components/DependencyInjection/Bridge/Session.php:59
Stack trace:
#0 /var/www/DOMAIN/public_html/var/cache/production_201608291509/proxies/ShopwareProductionda39a3ee5e6b4b0d3255bfef95601890afd80709ProjectContainer.php(692): Shopware\Components\DependencyInjection\Bridge\Session->factory(Object(ShopwareProductionda39a3ee5e6b4b0d3255bfef95601890afd80709ProjectContainer))
#1 /var/www/DOMAIN/public_html/vendor/symfony/dependency-injection/Container.php(314): ShopwareProductionda39a3ee5e6b4b0d3255bfef95601890afd80709ProjectContainer->getSessionService()
#2 /var/www/DOMAIN/public_html/engine/Shopware/Components/DependencyInjection/Container.php(182): Symfony\Component\DependencyInjection\Container->get('session', 1)
#3 /var/www/DOMAIN/public_html/engine/Shopware/Components/DependencyInjection/Container.php(138): Shopware\Components\DependencyInject in /var/www/DOMAIN/public_html/engine/Shopware/Components/DependencyInjection/Bridge/Session.php on line 59
Hat jemand eine Idee?
Gruß
ellwe