# Update von 3.5.6 auf 4 \_&gt; Fehler: Call to a member function

**URL:** <https://forum.shopware.com/t/update-von-3-5-6-auf-4-gt-fehler-call-to-a-member-function/11504>\
**Category:** Shopware 3.5\
**Tags:** installation--gettin\
**Created:** [9. Februar 2013 um 18:24 UTC](https://forum.shopware.com/t/update-von-3-5-6-auf-4-gt-fehler-call-to-a-member-function/11504 "2013-02-09T18:24:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![myGreatShop](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@myGreatShop](https://forum.shopware.com/u/myGreatShop)\
**Post date:** [9. Februar 2013 um 18:24 UTC](https://forum.shopware.com/t/update-von-3-5-6-auf-4-gt-fehler-call-to-a-member-function/11504/1 "2013-02-09T18:24:59Z")

</div>

Hallo zusammen, nach einigem hin & her habe ich jetzt das Update von 3.5.6 auf 4 hinbekommen. Leider wird im Frontend nichts angezeigt, weil es schon recht früh den folgenden Fehler gibt: `<meta name="application-name" content="&lt;br /&gt;
&lt;b&gt;Fatal error&lt;/b&gt;: Call to a member function config() on a non-object in &lt;b&gt;/home/staplerp/public_html/testupdate/cache/templates/compile/frontend_gradient_de_DE_1/07/0f/c0/070fc01651ea434bb69c34c43b87937b70159f60.snippet.index.tpl.php&lt;/b&gt; on line &lt;b&gt;543&lt;/b&gt;&lt;br /&gt;
`

Im Snippet steht an der Stelle folgender Code:

[code]\<meta name=" application-name\>

---

<div class="post-metadata">

**Author:** ![shredding](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@shredding](https://forum.shopware.com/u/shredding)\
**Post date:** [10. Februar 2013 um 18:50 UTC](https://forum.shopware.com/t/update-von-3-5-6-auf-4-gt-fehler-call-to-a-member-function/11504/2 "2013-02-10T18:50:57Z")

</div>

Der Fehler besagt, dass er das Template nicht finden kann. Mal vorsichtig nachgefragt: Hast du den Cache schon gelöscht? Versuche auch mal direkt die angezeigte Datei im Filesystem zu löschen. Ansonsten: Hast du unter 3.5 vllt ein Template genutzt, dass es jetzt nicht mehr gibt?

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [11. Februar 2013 um 00:06 UTC](https://forum.shopware.com/t/update-von-3-5-6-auf-4-gt-fehler-call-to-a-member-function/11504/3 "2013-02-11T00:06:09Z")

</div>

Hallo, du musst die Variablen ändern. Du kannst bei Shopware 4 keine Variablen nach dem alten Schema ‚this‘ benutzen, siehe z.B. Doku: [http://wiki.shopware.de/Shopware-Update … -Variablen](http://wiki.shopware.de/Shopware-Update-3.5.6-auf-4%5C_detail%5C_935.html#Zugriff%5C_auf%5C_config-Variablen)
