# PHP Fatal Error im Template cache: "Call to a member function get() on array" bei der Zahlungen

**URL:** https://forum.shopware.com/t/php-fatal-error-im-template-cache-call-to-a-member-function-get-on-array-bei-der-zahlungen/68686
**Category:** Sonstiges
**Created:** [30. Juli 2020 um 08:14 UTC](https://forum.shopware.com/t/php-fatal-error-im-template-cache-call-to-a-member-function-get-on-array-bei-der-zahlungen/68686 "2020-07-30T08:14:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rreimche](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@rreimche](https://forum.shopware.com/u/rreimche)
#### Post date: [30. Juli 2020 um 08:14 UTC](https://forum.shopware.com/t/php-fatal-error-im-template-cache-call-to-a-member-function-get-on-array-bei-der-zahlungen/68686/1 "2020-07-30T08:14:36Z")

</div>

Hallo! bekomme aktuell solche Fehler im error.log von nginx:

```
2020/07/30 06:49:02 [error] 22020#22020: *5803334 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function get() on array in /var/www/share/www.mydomain.de/htdocs/var/cache/production_202005221140/templates/frontend_MyTheme_de_DE_1_secure/9d/0d/a0/9d0da0bf8b546d39cd6d18869feb0bb882968d31.snippet.finish_item_product.tpl.php:166
Stack trace:
#0 /var/www/share/www.mydomain.de/htdocs/var/cache/production_202005221140/templates/frontend_MyTheme_de_DE_1_secure/9d/0d/a0/9d0da0bf8b546d39cd6d18869feb0bb882968d31.snippet.finish_item_product.tpl.php(85): content_5f22513ecfa6d2_13153003(Object(Enlight_Template_Default))
#1 /var/www/share/www.mydomain.de/htdocs/engine/Library/Smarty/sysplugins/smarty_internal_templatebase.php(180): content_5f22513ee12251_22513139(Object(Enlight_Template_Default))
#2 /var/www/share/www.mydomain.de/htdocs/engine/Library/Smarty/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(Object(Enlight_Template_Default), NULL, NULL, NULL, false, false, true)
#3 /" while reading response header from upstream, client: 109.193.246.200, server: _, request: "GET /checkout/finish/sUniqueID/P02-407460-036953 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php7.4-fpm-www.mydomain.de.sock:", host: "www.mydomain.de", referrer: "https://payments.amazon.de/"

```

Es gibt solche mit referrer: “[https://payments.amazon.de/](https://payments.amazon.de/)” sowie mit referrer: “[https://www.sofort.com/](https://www.sofort.com/)”. Was könnte das sein?

---

<div class="post-metadata">

### Author: ![NextMike](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@NextMike](https://forum.shopware.com/u/NextMike)
#### Post date: [30. Juli 2020 um 08:20 UTC](https://forum.shopware.com/t/php-fatal-error-im-template-cache-call-to-a-member-function-get-on-array-bei-der-zahlungen/68686/2 "2020-07-30T08:20:54Z")

</div>

Lese PHP 7.4 da. Vielleicht liegt es daran?!

---

<div class="post-metadata">

### Author: ![rreimche](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@rreimche](https://forum.shopware.com/u/rreimche)
#### Post date: [4. August 2020 um 20:08 UTC](https://forum.shopware.com/t/php-fatal-error-im-template-cache-call-to-a-member-function-get-on-array-bei-der-zahlungen/68686/3 "2020-08-04T20:08:38Z")

</div>

Ich habe zu 7.3 gewechselt und sehe keine Verbesserungen. Das Problem kommt 3-5 Mal pro Tag an&nbsp;scheinbar zufälligen Zeitpunkten.
