Jump to content

"Trying to access array offset on value of type bool" after setting order to paid


musicmaster

Recommended Posts

After switching an order in the backoffice to paid I get an error message:

 

boolean.thumb.jpg.5d8b825364d0d7ef8c8a728b4da42839.jpg

 

The status switch is done, but the customer doesn't receive the email.

I looked in the log files. The server's log files shows nothing. The log file under /var/logs shows 838 entries. I have attached the first five (the forum software refuses to load the whole list). Searching in them I couldn't find much:

 - the text "Trying to access array offset on value of type bool" can nowhere be found.

 - I get twice an "Unable to load template 'file:layout-ajax.tpl'" error:

Quote

[2023-09-29 09:02:00] request.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: "An exception has been thrown during the rendering of a template ("Unable to load template 'file:layout-ajax.tpl'")." at /var/www/vhosts/flowershop.nl/httpdocs/_nieuw/src/PrestaShopBundle/Resources/views/Admin/layout.html.twig line 38 {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): An exception has been thrown during the rendering of a template (\"Unable to load template 'file:layout-ajax.tpl'\"). at /var/www/vhosts/flowershop.nl/httpdocs/_nieuw/src/PrestaShopBundle/Resources/views/Admin/layout.html.twig:38, SmartyException(code: 0): Unable to load template 'file:layout-ajax.tpl' at /var/www/vhosts/flowershop.nl/httpdocs/_nieuw/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:196)"} []

 - I get twice "Warning: filemtime(): stat failed"

Quote

[2023-09-29 09:01:57] php.DEBUG: Warning: filemtime(): stat failed for /var/www/vhosts/flowershop.nl/httpdocs/_nieuw/admin123/themes//template {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Exception\\SilencedErrorContext: {\"severity\":2,\"file\":\"/var/www/vhosts/flowershop.nl/httpdocs/_nieuw/classes/controller/AdminController.php\",\"line\":463,\"trace\":[{\"file\":\"/var/www/vhosts/flowershop.nl/httpdocs/_nieuw/classes/controller/Controller.php\",\"line\":246,\"function\":\"__construct\",\"class\":\"AdminControllerCore\",\"type\":\"->\"}],\"count\":1})"} []

 

Does anyone have an idea what this could be?

nieuw 5.txt

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...