# \[GELÖST\] Update 5.5.10 auf 5.6 Column not found: 1054 Unknown column 'emotion.listing\_visibility'

**URL:** https://forum.shopware.com/t/gelost-update-5-5-10-auf-5-6-column-not-found-1054-unknown-column-emotion-listing-visibility/70627
**Category:** Allgemein
**Created:** [3. November 2020 um 16:19 UTC](https://forum.shopware.com/t/gelost-update-5-5-10-auf-5-6-column-not-found-1054-unknown-column-emotion-listing-visibility/70627 "2020-11-03T16:19:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![fahrer](https://avatars.discourse-cdn.com/v4/letter/f/aca169/32.png) [@fahrer](https://forum.shopware.com/u/fahrer)
#### Post date: [3. November 2020 um 16:19 UTC](https://forum.shopware.com/t/gelost-update-5-5-10-auf-5-6-column-not-found-1054-unknown-column-emotion-listing-visibility/70627/1 "2020-11-03T16:19:05Z")

</div>

Hallo,

ich hoffe, ihr könnt mal wieder helfen.

Nach dem Update von 5.5.10 auf 5.6 erhalte ich folgende Fehlermeldung im log und im Frontend meiner staging-Umgebung:

```
Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'emotion.listing_visibility' in 'field list' in .../shop/staging/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:907 Stack trace: #0 .../shop/staging/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(907): PDOStatement->execute() #1 .../shop/staging/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(206): Doctrine\DBAL\Connection->executeQuery('SELECT emotion....', Array, Array) #2 .../shop/staging/engine/Shopware/Components/Emotion/DeviceConfiguration.php(119): Doctrine\DBAL\Query\QueryBuilder->execute() #3 .../shop/staging/engine/Shopware/Bundle/EmotionBundle/Service/StoreFrontEmotionDeviceConfiguration.php(47): Shopware\Components\Emotion\DeviceConfiguration->get(3) #4 .../shop/staging/engine/Shopware/Controllers/Frontend/Index.php( in .../shop/staging/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php on line 179

```

Wie ich in [diesem Beitrag](https://forum.shopware.com/discussion/72662/geloest-nach-update-auf-5-5-7-im-frontend-column-not-found-1054-unknown-column-category-shop) gelernt habe, fehlt mir offenbar wieder eine Spalte? Kann ich diese auch wieder „so einfach“ anlegen?

Vor dem Update habe ich den Rat aus dem Update-Archiv befolgt:

_Vor dem Update müssen ggf. verwaiste Einträge in s\_order\_details entfernt werden._

```
DELETE from s_order_details WHERE orderID Not IN (Select id from s_order)

```

Das Menü im Backend fehlte ebenfalls. Ich konnte es jedoch mit Hilfe der Lösung von @Shyim‍ aus [dem Beitrag](https://forum.shopware.com/discussion/65066/kein-menue-im-backend-seit-5-6-4) wiederherstellen.

Allerdings gibt es im Backend weitere Probleme. Die Einkaufswelten können nicht angezeigt oder angelegt werden, auch nicht durch importieren.

Kategorien können ebenfalls nicht bearbeitet werden.

Bei der Benutzerverwaltung sind die beiden ersten Tabs ohne Text, im dritten werden keine Regeln für Benutzergruppen geladen.

&nbsp;

Danke für eure Hinweise!

Gruß Peter

---

<div class="post-metadata">

### Author: ![fahrer](https://avatars.discourse-cdn.com/v4/letter/f/aca169/32.png) [@fahrer](https://forum.shopware.com/u/fahrer)
#### Post date: [5. November 2020 um 21:24 UTC](https://forum.shopware.com/t/gelost-update-5-5-10-auf-5-6-column-not-found-1054-unknown-column-emotion-listing-visibility/70627/2 "2020-11-05T21:24:19Z")

</div>

Ich antworte mir mal selbst…

Mit Hilfe dieser Migration

[https://github.com/shopware/shopware/blob/452c5c29b3a2b7e44a2587236ae759d20a0d7002/\_sql/migrations/1614-add-emotion-in-listing-config.php](https://github.com/shopware/shopware/blob/452c5c29b3a2b7e44a2587236ae759d20a0d7002/_sql/migrations/1614-add-emotion-in-listing-config.php)

wird die fehlende Spalte „listing\_visibility“ in der Tabelle „s\_emotion“ angelegt. Zudem war es hilfreich, den/die production-Ordner unter var/cache umzubenennen (oder zu löschen bzw. zu verschieben). Danach habe ich vorsichtshalber noch _bin/console sw:generate:attributes_ ausgeführt.

Danach war alles fehlende auch wieder erreichbar.

Gruß Peter
