9
« Last post by everchanging on October 08, 2024, 08:50:24 PM »
Hi guys, a quick question.
Currently I am running on AbanteCart 1.2.16 with no issues whatsoever; so I am fine with it.
Here is the question:
When I go to my WHM (from my server) and change the PHP version from 7.1 (which I am currently on) to php version 7.3 or 7.4 - although the site runs fine there is a small problem.
As I was checking everything and no apparent issues appeared, I discovered that when someone tries to write a review, he cannot do it.
For example, you add the name, you write the review, and to complete the process you click on reCaptcha (version 2) and submit the review.
But the moment you click on the submit button nothing happens or it does not accept the review (stating that an error occurred or something).
So, currently I reverted back to php 7.1 and everything works fine again.
Any ideas why that is the case or how to solve it?
I am puzzled because I have never encountered such a case before.
I am looking forward to your reply.
PS: if I read the error report correctly this is what it states:
warning: AbanteCart core v.1.2.16 Use of undefined constant total_data - assumed 'total_data' (this will throw an Error in a future version of PHP) in <b>/home/................./extensions/favicon_cart/storefront/view/default/template/common/footer.post.tpl</b> on line <b>18</b>
warning: AbanteCart core v.1.2.16 Use of undefined constant text - assumed 'text' (this will throw an Error in a future version of PHP) in <b>/home/.............../extensions/favicon_cart/storefront/view/default/template/common/footer.post.tpl</b> on line <b>20</b>