# Fehler seit 5.3.4 -\> Uncaught Error: Call to a member function renderEsiTag()

**URL:** <https://forum.shopware.com/t/fehler-seit-5-3-4-uncaught-error-call-to-a-member-function-renderesitag/49112>\
**Category:** Allgemein\
**Created:** [27. Oktober 2017 um 07:22 UTC](https://forum.shopware.com/t/fehler-seit-5-3-4-uncaught-error-call-to-a-member-function-renderesitag/49112 "2017-10-27T07:22:54Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![coarsy](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@coarsy](https://forum.shopware.com/u/coarsy)\
**Post date:** [27. Oktober 2017 um 07:22 UTC](https://forum.shopware.com/t/fehler-seit-5-3-4-uncaught-error-call-to-a-member-function-renderesitag/49112/1 "2017-10-27T07:22:54Z")

</div>

Moin zusammen,

ich habe seit neuestem folgenden Fehler im Errorlog:

&nbsp;

```
[27-Oct-2017 09:15:39 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to a member function renderEsiTag() on null in /html/shopware/var/cache/production_201710241020/templates/frontend_Meinestruempfe_de_DE_1_secure/4e/be/96/4ebe9627ca1a33d7194ba3405499a699228a5b83.snippet.box-minimal.tpl.php:362
Stack trace:
#0 /html/shopware/var/cache/production_201710241020/templates/frontend_Meinestruempfe_de_DE_1_secure/4e/be/96/4ebe9627ca1a33d7194ba3405499a699228a5b83.snippet.box-minimal.tpl.php(174): content_59f2dd18d4abb9_87883300(Object(Enlight_Template_Default))
#1 /html/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatebase.php(180): content_59f2dd18ec8879_25188797(Object(Enlight_Template_Default))
#2 /html/shopware/engine/Library/Smarty/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(Object(Enlight_Template_Default), NULL, NULL, NULL, false, false, true)
#3 /html/shopware/var/cache/production_201710241020/templates/frontend_Meinestruempfe_de_DE_1_secure/a0/99/b7/a099b786141a7c0cc59c7b60239b63201a274381.snippet.lis in /html/shopware/var/cache/production_201710241020/templates/frontend_Meinestruempfe_de_DE_1_secure/4e/be/96/4ebe9627ca1a33d7194ba3405499a699228a5b83.snippet.box-minimal.tpl.php on line 362

```

&nbsp;

Was kann das denn sein? Wenn ich den Cache leere, ists dann wieder ne Weile weg… Sehr strange das Ganze!

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [27. Oktober 2017 um 08:37 UTC](https://forum.shopware.com/t/fehler-seit-5-3-4-uncaught-error-call-to-a-member-function-renderesitag/49112/2 "2017-10-27T08:37:15Z")

</div>

Hast du ein ActionWidget in der ProductBox? Du solltest mal deine box\_minimal.tpl überprüfen.  
Im Normalfall gibt es da keinen ESI-Tag.

---

<div class="post-metadata">

**Author:** ![coarsy](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@coarsy](https://forum.shopware.com/u/coarsy)\
**Post date:** [27. Oktober 2017 um 08:39 UTC](https://forum.shopware.com/t/fehler-seit-5-3-4-uncaught-error-call-to-a-member-function-renderesitag/49112/3 "2017-10-27T08:39:44Z")

</div>

Ja, ich habe da ein Action-Widget, aber das dürfte ja an sich kein Problem darstellen, oder?

---

<div class="post-metadata">

**Author:** ![coarsy](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@coarsy](https://forum.shopware.com/u/coarsy)\
**Post date:** [17. November 2017 um 18:24 UTC](https://forum.shopware.com/t/fehler-seit-5-3-4-uncaught-error-call-to-a-member-function-renderesitag/49112/4 "2017-11-17T18:24:08Z")

</div>

Und woher kommt denn der Fehler genau?

Das Widget macht nur das hier:

&nbsp;

```
Request()->getParam('articleId', null);
        
        $config = Shopware()->Plugins()->Frontend()->CbeCategoriesInfo()->Config();

        $select = "
        SELECT c.description, c.id
        FROM s_articles_categories ac, s_categories c
        WHERE ac.articleID = ? AND ac.categoryID = c.id
        GROUP BY c.id
        ORDER BY c.description
        ";
        
        $categories = Shopware()->Db()->fetchAll($select, array($articleId));
        
        $this->View()->assign('CategoriesInfoListed', $categories);
        $this->View()->assign('CategoriesInfoCompare', $config->compareCategory);       

    }
}

```

Und das Widget befindet sich in product-badges.tpl mit folgendem Code:

{action module=widgets controller=CbeCategoriesInfo action=getCategoryinfo articleId=$sArticle.articleID}

Nach dem Neukompilieren ist der Fehler wieder für ne Weile weg und kommt dann wieder! Sehr eigenartige Sache das…

---

<div class="post-metadata">

**Author:** ![coarsy](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@coarsy](https://forum.shopware.com/u/coarsy)\
**Post date:** [23. November 2017 um 09:26 UTC](https://forum.shopware.com/t/fehler-seit-5-3-4-uncaught-error-call-to-a-member-function-renderesitag/49112/5 "2017-11-23T09:26:50Z")

</div>

Hi mal wieder,

jetzt isser wieder nach mehreren Tagen da:

&nbsp;

```
Stack trace:
#0 /html/shopware/var/cache/production_201710241020/templates/frontend_Meinestruempfe_de_DE_1_secure/4e/be/96/4ebe9627ca1a33d7194ba3405499a699228a5b83.snippet.box-minimal.tpl.php(117): content_5a1693610d3bc4_20576168(Object(Enlight_Template_Default))
#1 /html/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatebase.php(180): content_5a1693611e0aa4_21874157(Object(Enlight_Template_Default))
#2 /html/shopware/engine/Library/Smarty/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(Object(Enlight_Template_Default), NULL, NULL, NULL, false, false, true)
#3 /html/shopware/var/cache/production_201710241020/templates/frontend_Meinestruempfe_de_DE_1_secure/a0/99/b7/a099b786141a7c0cc59c7b60239b63201a274381.snippet.lis in /html/shopware/var/cache/production_201710241020/templates/frontend_Meinestruempfe_de_DE_1_secure/4e/be/96/4ebe9627ca1a33d7194ba3405499a699228a5b83.snippet.box-minimal.tpl.php on line 294
[23-Nov-2017 10:22:55 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to a member function renderEsiTag() on null in /html/shopware/var/cache/production_201710241020/templates/frontend_Meinestruempfe_de_DE_1_secure/4e/be/96/4ebe9627ca1a33d7194ba3405499a699228a5b83.snippet.box-minimal.tpl.php:294
Stack trace:
#0 /html/shopware/var/cache/production_201710241020/templates/frontend_Meinestruempfe_de_DE_1_secure/4e/be/96/4ebe9627ca1a33d7194ba3405499a699228a5b83.snippet.box-minimal.tpl.php(117): content_5a1693610d3bc4_20576168(Object(Enlight_Template_Default))
#1 /html/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatebase.php(180): content_5a1693611e0aa4_21874157(Object(Enlight_Template_Default))
#2 /html/shopware/engine/Library/Smarty/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(Object(Enlight_Template_Default), NULL, NULL, NULL, false, false, true)
#3 /html/shopware/var/cache/production_201710241020/templates/frontend_Meinestruempfe_de_DE_1_secure/a0/99/b7/a099b786141a7c0cc59c7b60239b63201a274381.snippet.lis in /html/shopware/var/cache/production_201710241020/templates/frontend_Meinestruempfe_de_DE_1_secure/4e/be/96/4ebe9627ca1a33d7194ba3405499a699228a5b83.snippet.box-minimal.tpl.php on line 294

```

Sobald ich das Template dann neu kompiliere, isses wieder für Tage weg… Was kann ich hier tun?

---

<div class="post-metadata">

**Author:** ![coarsy](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@coarsy](https://forum.shopware.com/u/coarsy)\
**Post date:** [13. Dezember 2017 um 11:43 UTC](https://forum.shopware.com/t/fehler-seit-5-3-4-uncaught-error-call-to-a-member-function-renderesitag/49112/6 "2017-12-13T11:43:48Z")

</div>

Hi nochmal,

jetzt habe ich mal das entsprechende, kompilierte Template überprüft und ich sehe hier leider auch keinen entsprechenden Fehler, der auf NULL zurückführen könnte…

Siehe:

&nbsp;

```
 smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['action'][0][0]->renderEsiTag(array('module'=>'widgets','controller'=>'CbeCategoriesInfo','action'=>'getCategoryinfo','articleId'=>$_smarty_tpl->tpl_vars['sArticle']->value['articleID']),$_smarty_tpl);?>

```

Hat hier keiner eine Idee? Gerne auch gegen Bezahlung. Das Problem ist, dass das dann sporadisch auftaucht und es mir das Listing der Artikel zerschießt und die Kunden somit keine weiteren Artikel sehen können.

Vielen Dank und viele Grüße,

Chris

---

<div class="post-metadata">

**Author:** ![Patrick\_Stahl](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/patrick_stahl/32/7679_2.png) [@Patrick\_Stahl](https://forum.shopware.com/u/Patrick_Stahl)\
**Post date:** [13. Dezember 2017 um 12:56 UTC](https://forum.shopware.com/t/fehler-seit-5-3-4-uncaught-error-call-to-a-member-function-renderesitag/49112/7 "2017-12-13T12:56:47Z")

</div>

Moin @coarsy‍,

du könntest ja in der Cache-Datei mal schauen, was die Ausgabe von dem folgenden Code ergibt.  
&nbsp;

```
$_smarty_tpl->smarty->registered_plugins

```

sowie von&nbsp; **Smarty::PLUGIN\_FUNCTION**.

Dann müsstest du ja sehen können, ob da etwas falsch ist.

Gruß,  
Patrick&nbsp; ![Shopware](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/86c57fbace799dd4eb1f1b8a2d3bdc1733f0aea1.png "Shopware")

---

<div class="post-metadata">

**Author:** ![coarsy](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@coarsy](https://forum.shopware.com/u/coarsy)\
**Post date:** [13. Dezember 2017 um 13:42 UTC](https://forum.shopware.com/t/fehler-seit-5-3-4-uncaught-error-call-to-a-member-function-renderesitag/49112/8 "2017-12-13T13:42:30Z")

</div>

Moin Patrick,

genau, die Ausgabe habe ich oben bereits mit reingeposted und ich kann hier beim besten Willen keinen Fehler erkennen. Irgendwie scheint das alles mit dem Securitymode von Smarty zu tun zu haben…

Nervig…

---

<div class="post-metadata">

**Author:** ![coarsy](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@coarsy](https://forum.shopware.com/u/coarsy)\
**Post date:** [13. Dezember 2017 um 15:22 UTC](https://forum.shopware.com/t/fehler-seit-5-3-4-uncaught-error-call-to-a-member-function-renderesitag/49112/9 "2017-12-13T15:22:56Z")

</div>

Irgendwie scheint das Ganze ja mit dem Cache zu tun haben, da es nach dem Leeren wieder ne ganze Weile funktioniert. Wurde da bei der 5.3.4 irgendwas in der Richtung angepasst?

---

<div class="post-metadata">

**Author:** ![exwe](https://avatars.discourse-cdn.com/v4/letter/e/3d9bf3/32.png) [@exwe](https://forum.shopware.com/u/exwe)\
**Post date:** [5. Oktober 2020 um 07:33 UTC](https://forum.shopware.com/t/fehler-seit-5-3-4-uncaught-error-call-to-a-member-function-renderesitag/49112/10 "2020-10-05T07:33:22Z")

</div>

@coarsy‍ konntest du für dieses Problem mitterlweile eine Lösung finden?
