I have a issue with opencart 3.0.2.0. When completed the sale I received error (please see below) message when I clicked checkout
The error is:
Code: Select all
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Warning</b>: sprintf(): Too few arguments in <b>/var/data/www/myaddress.com/catalog/controller/mail/order.php</b>
on line <b>67</b>{"redirect":"https:\/\/myaddress.com\/index.php?route=checkout\/success"}
Code: Select all
$data['text_greeting'] = sprintf($language->get('text_greeting'), $order_info['store_name']);