Answer the question
In order to leave comments, you need to log in
How to fix PHP warning: Illegal string offset 'success'?
In the error log, on each hit of the cart page, I get this:
[2017-10-12 19:48:31] (ERROR @ *******/core/cache/includes/elements/modsnippet/22.include.cache.php : 11) PHP warning: Illegal string offset 'success'
/* check payment */
$response = $mspReceiptAccount->paymentType($_GET['msorder']);
if(!$response['success']) return '';
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question