when cart icon is clicked and cart is empty getting fatal error
-
The cart works fine when a product is in it but a fatal error when it is empty. The message says:
PHP Parse error: syntax error, unexpected ‘endif’ (T_ENDIF), expecting end of file in /nas/content/live/somatictrauma/wp-content/themes/divi-child/woocommerce/cart/cart-empty.php on line 44
I have looked at the file cart-empty.php in the child theme and can’t see any difference in it compared to the same Woocommerce file not in a child theme.
On line 44 there is:
<?php endif; ?>I’d really appreciate any help with this as I have researched for ages now trying to solve the issue.
Thanks!
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘when cart icon is clicked and cart is empty getting fatal error’ is closed to new replies.