Hi,
Have upgraded on a local host to 1.5.6c (using WAMP with PHP 7.3.12) and am recieving the following warnings:
[23-Jul-2020 02:08:16 UTC] Request URI: /new/, IP address: ::1
#1 require(C:\wamp64\www\New\includes\templates\winchester_responsive\templates\tpl_modules_mobile_categories_tabs.php) called at [C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_header.php:102]
#2 require(C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_header.php) called at [C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_main_page.php:181]
#3 require(C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_main_page.php) called at [C:\wamp64\www\New\index.php:97]
--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_GV_STATUS - assumed 'MODULE_ORDER_TOTAL_GV_STATUS' (this will throw an Error in a future version of PHP) in C:\wamp64\www\New\includes\templates\winchester_responsive\templates\tpl_modules_mobile_categories_tabs.php on line 71.
[23-Jul-2020 02:08:16 UTC] Request URI: /new/, IP address: ::1
#1 require(C:\wamp64\www\New\includes\templates\winchester_responsive\templates\tpl_modules_mobile_categories_tabs.php) called at [C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_header.php:102]
#2 require(C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_header.php) called at [C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_main_page.php:181]
#3 require(C:\wamp64\www\New\includes\templates\winchester_responsive\common\tpl_main_page.php) called at [C:\wamp64\www\New\index.php:97]
--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_COUPON_STATUS - assumed 'MODULE_ORDER_TOTAL_COUPON_STATUS' (this will throw an Error in a future version of PHP) in C:\wamp64\www\New\includes\templates\winchester_responsive\templates\tpl_modules_mobile_categories_tabs.php on line 74.
I have coupons and gift certificates turned off - turning them on removes the warning.
Below is the code for lines 71 and 74:
71 <?php if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') { ?>
74 <?php if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') { ?>
I tried to alter this to the following (on the off chance it would work - as I really have no idea):
71 - <?php if (defined(MODULE_ORDER_TOTAL_GV_STATUS == 'true') ) { ?>
74 - <?php if (defined(MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') ) { ?>
However, it made no difference - any help would be appreciated.
Thanks,