# Smarty Fehler nach update

**URL:** https://forum.shopware.com/t/smarty-fehler-nach-update/50590
**Category:** Allgemein
**Created:** [22. Januar 2018 um 15:34 UTC](https://forum.shopware.com/t/smarty-fehler-nach-update/50590 "2018-01-22T15:34:20Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![lbmh](https://avatars.discourse-cdn.com/v4/letter/l/a88e4f/32.png) [@lbmh](https://forum.shopware.com/u/lbmh)
#### Post date: [22. Januar 2018 um 15:34 UTC](https://forum.shopware.com/t/smarty-fehler-nach-update/50590/1 "2018-01-22T15:34:20Z")

</div>

Hi,

ich habe Shopware von 5.2.7&nbsp; auf 5.3.7 geupdatet.  
Jezt bekomme ich folgenden Fehler im Shopware Frontend:

```
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/html/shopware/staging/themes/Frontend/ThemeLB/frontend/listing/product-box/box-basic.tpl" on line 4 "&lt;a href=&quot;{$sArticle.linkDetails|rewrite:$sArticle.lb_subtitle}&quot;" unknown modifier "rewrite"' in /html/shopware/staging/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php:657 Stack trace: #0 /html/shopware/staging/engine/Library/Smarty/sysplugins/smarty_internal_compile_private_modifier.php(132): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown modifie...', 4) #1 /html/shopware/staging/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(465): Smarty_Internal_Compile_Private_Modifier->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #2 /html/shopware/staging/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(249): Smarty_Internal_TemplateCompilerBase->c in /html/shopware/staging/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 657

```

Ich habe alle Plugins aktualisiert.

Danke für Hilfen

---

<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: [22. Januar 2018 um 15:45 UTC](https://forum.shopware.com/t/smarty-fehler-nach-update/50590/2 "2018-01-22T15:45:45Z")

</div>

Moin @lbmh‍,

du benutzt in deinem eigenen Theme den Smarty-Modifier “rewrite”.  
Dieser wurde mit Shopware 5.3.0 jedoch entfernt, wie du [hier](https://github.com/shopware/shopware/blob/5.3/UPGRADE-5.3.md) sehen kannst (Einfach mal nach “rewrite” suchen).

Der “Rewrite” Modifier hatte ohnehin keine Funktion mehr, sodass du diesen problemlos aus deinem Theme entfernen kannst.

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