Hello All,
We're attempting to upgrade to OpenCart 3.0.3.9 from a clean install running on PHP 8.1. We're getting the following error whether we're on the default template or our template when we add something to cart and then click view cart. We're on the index.php?route=checkout/cart page when we see the error.
Fatal error: Uncaught Twig\Error\SyntaxError: Unexpected character ";" in "default/template/checkout/cart.twig" at line 68.
Any help is appreciated.
Thanks.
Restore your catalog/view/theme/default/template/checkout/cart.twig, line 68 should contain this:
Code: Select all
<button type="button" data-toggle="tooltip" title="{{ button_remove }}" class="btn btn-danger" onclick="cart.remove('{{ product.cart_id }}');"><i class="fa fa-times-circle"></i></button>
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Perfect, thanks JNeuhoff.JNeuhoff wrote: ↑Wed Jun 05, 2024 6:02 amRestore your catalog/view/theme/default/template/checkout/cart.twig, line 68 should contain this:
Code: Select all
<button type="button" data-toggle="tooltip" title="{{ button_remove }}" class="btn btn-danger" onclick="cart.remove('{{ product.cart_id }}');"><i class="fa fa-times-circle"></i></button>
Regards,
Paul
Who is online
Users browsing this forum: No registered users and 3 guests