# PDF Erstellung bringt mit Fehler 500 ab, SW 5.3.3 - Wer hat eine Idee?

**URL:** <https://forum.shopware.com/t/pdf-erstellung-bringt-mit-fehler-500-ab-sw-5-3-3-wer-hat-eine-idee/48675>\
**Category:** Allgemein\
**Created:** [6. Oktober 2017 um 07:16 UTC](https://forum.shopware.com/t/pdf-erstellung-bringt-mit-fehler-500-ab-sw-5-3-3-wer-hat-eine-idee/48675 "2017-10-06T07:16:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sommunikation](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@sommunikation](https://forum.shopware.com/u/sommunikation)\
**Post date:** [6. Oktober 2017 um 07:16 UTC](https://forum.shopware.com/t/pdf-erstellung-bringt-mit-fehler-500-ab-sw-5-3-3-wer-hat-eine-idee/48675/1 "2017-10-06T07:16:50Z")

</div>

Weder Rechnung, noch Lieferschein noch irgendein PDF lässt sich generieren, es liegt wohl auch nicht an den Dokumententemplates, ich habe schon versucht, mit den „mitgelieferten“ aus Responsive ein PDF zu schreiben, aber der Fehler stoppt die Ausführung - wo finde ich die Ursache? Any Tipps?

```
2017/10/06 09:01:37 [error] 22298#22298: *13938 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method stdClass::isTrustedTag() in /var/www/clients/client367/web1054/web/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php:471
Stack trace:
#0 /var/www/clients/client367/web1054/web/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(249): Smarty_Internal_TemplateCompilerBase->callTagCompiler('private_print_e...', Array, Array)
#1 /var/www/clients/client367/web1054/web/engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(2353): Smarty_Internal_TemplateCompilerBase->compileTag('private_print_e...', Array, Array)
#2 /var/www/clients/client367/web1054/web/engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r27()
#3 /var/www/clients/client367/web1054/web/engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(27)
#4 /var/www/clients/client367/web1054/web/engine/Librar" while reading response header from upstream, client: 87.145.85.219, server: domain.de, request: "POST /backend/Order/createDocument/targetField/documents?_dc=1507273296799 HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/web1054.sock:", host: "www.domain.de", referrer: "https://www.domain.de/backend/"

```

&nbsp;

---

<div class="post-metadata">

**Author:** ![raymond](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@raymond](https://forum.shopware.com/u/raymond)\
**Post date:** [6. Oktober 2017 um 08:12 UTC](https://forum.shopware.com/t/pdf-erstellung-bringt-mit-fehler-500-ab-sw-5-3-3-wer-hat-eine-idee/48675/2 "2017-10-06T08:12:27Z")

</div>

PHP Version?

---

<div class="post-metadata">

**Author:** ![sommunikation](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@sommunikation](https://forum.shopware.com/u/sommunikation)\
**Post date:** [6. Oktober 2017 um 08:45 UTC](https://forum.shopware.com/t/pdf-erstellung-bringt-mit-fehler-500-ab-sw-5-3-3-wer-hat-eine-idee/48675/3 "2017-10-06T08:45:57Z")

</div>

PHP Version 7.0.18, nginx - Hast ne Idee?

---

<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:** [6. Oktober 2017 um 10:35 UTC](https://forum.shopware.com/t/pdf-erstellung-bringt-mit-fehler-500-ab-sw-5-3-3-wer-hat-eine-idee/48675/4 "2017-10-06T10:35:17Z")

</div>

Du hast über die config.php die Smarty Security abgeschaltet, dann klappen aktuell die PDF-Belege nicht.

Werden wir mit 5.3.4 gerade ziehen.

---

<div class="post-metadata">

**Author:** ![sommunikation](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@sommunikation](https://forum.shopware.com/u/sommunikation)\
**Post date:** [6. Oktober 2017 um 15:31 UTC](https://forum.shopware.com/t/pdf-erstellung-bringt-mit-fehler-500-ab-sw-5-3-3-wer-hat-eine-idee/48675/5 "2017-10-06T15:31:13Z")

</div>

Richtig Moritz, es liegt am Smarty Security …
