# Attribut in Kategorie nicht speicherbar

**URL:** <https://forum.shopware.com/t/attribut-in-kategorie-nicht-speicherbar/39717>\
**Category:** Shopware 5\
**Created:** [9. September 2016 um 16:46 UTC](https://forum.shopware.com/t/attribut-in-kategorie-nicht-speicherbar/39717 "2016-09-09T16:46:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ellwe](https://avatars.discourse-cdn.com/v4/letter/e/e36b37/32.png) [@ellwe](https://forum.shopware.com/u/ellwe)\
**Post date:** [9. September 2016 um 16:46 UTC](https://forum.shopware.com/t/attribut-in-kategorie-nicht-speicherbar/39717/1 "2016-09-09T16:46:30Z")

</div>

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

```

&nbsp;

Hat jemand eine Idee?

Gruß

ellwe

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![ellwe](https://avatars.discourse-cdn.com/v4/letter/e/e36b37/32.png) [@ellwe](https://forum.shopware.com/u/ellwe)\
**Post date:** [9. September 2016 um 16:50 UTC](https://forum.shopware.com/t/attribut-in-kategorie-nicht-speicherbar/39717/2 "2016-09-09T16:50:24Z")

</div>

Ok, nach sechs Stunden Forschung, habe ich gerade herausgefunden, dass es daran liegt, dass der Ordner in dem der Shop liegt per .htaccess Passwort geschützt ist.

Gibt es dafür eine andere Lösung? Kann es an wrgendwelchen rechten liegen?

---

<div class="post-metadata">

**Author:** ![ellwe](https://avatars.discourse-cdn.com/v4/letter/e/e36b37/32.png) [@ellwe](https://forum.shopware.com/u/ellwe)\
**Post date:** [10. September 2016 um 12:45 UTC](https://forum.shopware.com/t/attribut-in-kategorie-nicht-speicherbar/39717/3 "2016-09-10T12:45:36Z")

</div>

Wie schützt ihre eure Testshops?

---

<div class="post-metadata">

**Author:** ![ellwe](https://avatars.discourse-cdn.com/v4/letter/e/e36b37/32.png) [@ellwe](https://forum.shopware.com/u/ellwe)\
**Post date:** [10. Oktober 2016 um 13:59 UTC](https://forum.shopware.com/t/attribut-in-kategorie-nicht-speicherbar/39717/4 "2016-10-10T13:59:44Z")

</div>

Habt ihr keine Testshops?
