# \[gelöst\] Merkzettel-Fehlermeldung mit Shopware 4.0.8

**URL:** https://forum.shopware.com/t/gelost-merkzettel-fehlermeldung-mit-shopware-4-0-8/13649
**Category:** Shopware 3.5
**Tags:** general
**Created:** [9. Juni 2013 um 21:51 UTC](https://forum.shopware.com/t/gelost-merkzettel-fehlermeldung-mit-shopware-4-0-8/13649 "2013-06-09T21:51:06Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![zivizdravo](https://avatars.discourse-cdn.com/v4/letter/z/ac8455/32.png) [@zivizdravo](https://forum.shopware.com/u/zivizdravo)
#### Post date: [9. Juni 2013 um 21:51 UTC](https://forum.shopware.com/t/gelost-merkzettel-fehlermeldung-mit-shopware-4-0-8/13649/1 "2013-06-09T21:51:06Z")

</div>

Sobald ein Produkt auf den Merkzettel gelegt wird und dieser aufgerufen wird, erscheint auf der Merkzettel-Seite unterhalb des Produktbildes folgende Fehlermeldung: Fatal error: Call to a member function config() on a non-object in /var/www/vhosts/zivi-zdravo.si/httpdocs/cache/templates/compile/frontend\_lebegesund\_sl\_SI\_1/a0/59/d0/a059d0fa730f58760e46fb099d92322800710ac5.snippet.miniBasket.tpl.php on line 1181 Wie lässt sich dies lösen? Der Shop ist hier erreichbar: [http://www.zivizdravo.si](http://www.zivizdravo.si)

---

<div class="post-metadata">

### Author: ![kotoradeluxe](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@kotoradeluxe](https://forum.shopware.com/u/kotoradeluxe)
#### Post date: [9. Juni 2013 um 22:08 UTC](https://forum.shopware.com/t/gelost-merkzettel-fehlermeldung-mit-shopware-4-0-8/13649/2 "2013-06-09T22:08:16Z")

</div>

unter dem Link ist kein Shopware Shop erreichbar. aber das Problem kommt durch das veraltete Plugin “Mini Basket” entweder auf eine V4 kompatible Version updaten oder das Plugin deinstallieren

---

<div class="post-metadata">

### Author: ![waldicom](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/waldicom/32/12881_2.png) [@waldicom](https://forum.shopware.com/u/waldicom)
#### Post date: [9. Juni 2013 um 23:20 UTC](https://forum.shopware.com/t/gelost-merkzettel-fehlermeldung-mit-shopware-4-0-8/13649/3 "2013-06-09T23:20:47Z")

</div>

Vermutlich ist dieser Shop gemeint: [www.zivi-zdravo.si](http://www.zivi-zdravo.si) In diesem Fall sollte das Plugin natürlich auf die neue Version für Shopware 4.0.x upgedated werden. Wenn das nicht automatisch über das Backend geht, schreiben Sie mir bitte an [info@waldicom.de](mailto:info@waldicom.de).

---

<div class="post-metadata">

### Author: ![zivizdravo](https://avatars.discourse-cdn.com/v4/letter/z/ac8455/32.png) [@zivizdravo](https://forum.shopware.com/u/zivizdravo)
#### Post date: [10. Juni 2013 um 22:47 UTC](https://forum.shopware.com/t/gelost-merkzettel-fehlermeldung-mit-shopware-4-0-8/13649/4 "2013-06-10T22:47:20Z")

</div>

Hallo, vielen Dank für die schnellen Antworten, es geht tatsächlich um den Shop [http://www.zivi-zdravo.si](http://www.zivi-zdravo.si) mit Bindestrich. Das Plugin WcomMiniBasket ist in der aktuellen Version 4.0.9 installiert. Ich habe es sicherheitshalber noch einmal gelöscht und neu heruntergeladen, das brachte leider keine Abhilfe. Wenn ich WcomMiniBasket deaktiviere, ändert sich die Fehlermeldung wie folgt: Fatal error: Call to a member function config() on a non-object in /var/www/vhosts/zivi-zdravo.si/httpdocs/cache/templates/compile/frontend\_lebegesund\_sl\_SI\_1/cd/e5/3e/cde53e1ef38f759b8c0215ceef9e276c167b021d.snippet.index.tpl.php on line 1158 In der genannten PHP-Datei findet sich ab Zeile 1158 folgender Code:\<?php if ($\_smarty\_tpl-\>tpl\_vars[‚this‘]-\>value-\>config(‚BASKETSHIPPINGINFO‘)){?\>

\<?php /\* Call merged included template "frontend/plugins/index/delivery\_informations.tpl" \*/ $\_tpl\_stack[] = $\_smarty\_tpl; $\_smarty\_tpl = $\_smarty\_tpl-\>setupInlineSubTemplate("frontend/plugins/index/delivery\_informations.tpl", $\_smarty\_tpl-\\>cache\_id, $\_smarty\_tpl-\\>compile\_id, null, null, array('sArticle'=\\>$\_smarty\_tpl-\\>tpl\_vars['sBasketItem']-\\>value), 0, '195893561051b63890ef1a12-00800056'); content\_51b63891d40c36\_88428932($\_smarty\_tpl); $\_smarty\_tpl = array\_pop($\_tpl\_stack); /\* End of included template "frontend/plugins/index/delivery\_informations.tpl" \*/?\\> \<?php }?\>

---

<div class="post-metadata">

### Author: ![zivizdravo](https://avatars.discourse-cdn.com/v4/letter/z/ac8455/32.png) [@zivizdravo](https://forum.shopware.com/u/zivizdravo)
#### Post date: [16. Juni 2013 um 21:27 UTC](https://forum.shopware.com/t/gelost-merkzettel-fehlermeldung-mit-shopware-4-0-8/13649/5 "2013-06-16T21:27:44Z")

</div>

Das Problem lag in einer Stelle des alten Shopware 3.5.6 Templates, frontend/note/item.tpl Syntax Shopware 3.5.6: {if $this-\>config(‘BASKETSHIPPINGINFO’)} Neue Syntax Shopware. 4.0.8: {if {config name=BASKETSHIPPINGINFO}} Nun funktioniert es. Vielen Dank für die Tipps.
