Originally Posted by
swguy
This is completely wrong. The whole point of 1.5.6 was interoperability with PHP 7.2+. We should finish the job.
Im getting loads of warning popping up when viewing cart page from your modules, 1.5.6 and php 7, do i need to move the file locations of the english defines?
Code:
[19-Feb-2019 17:23:38 UTC] Request URI: /index.php?main_page=shopping_cart, IP address: ::1
#1 ot_bigspender_discount->ot_bigspender_discount() called at [D:\Server\data\htdocs\includes\modules\BBR_NEW\inc_bs.php:67]
#2 include_once(D:\Server\data\htdocs\includes\modules\BBR_NEW\inc_bs.php) called at [D:\Server\data\htdocs\includes\templates\BBR_NEW\templates\tpl_shopping_cart_default.php:196]
#3 require(D:\Server\data\htdocs\includes\templates\BBR_NEW\templates\tpl_shopping_cart_default.php) called at [D:\Server\data\htdocs\includes\templates\BBR_NEW\common\tpl_main_page.php:139]
#4 require(D:\Server\data\htdocs\includes\templates\BBR_NEW\common\tpl_main_page.php) called at [D:\Server\data\htdocs\index.php:97]
--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_BIGSPENDER_DISCOUNT_TITLE - assumed 'MODULE_ORDER_TOTAL_BIGSPENDER_DISCOUNT_TITLE' (this will throw an Error in a future version of PHP) in D:\Server\data\htdocs\includes\modules\order_total\ot_bigspender_discount.php on line 150.
[19-Feb-2019 17:23:38 UTC] Request URI: /index.php?main_page=shopping_cart, IP address: ::1
#1 ot_bigspender_discount->ot_bigspender_discount() called at [D:\Server\data\htdocs\includes\modules\BBR_NEW\inc_bs.php:67]
#2 include_once(D:\Server\data\htdocs\includes\modules\BBR_NEW\inc_bs.php) called at [D:\Server\data\htdocs\includes\templates\BBR_NEW\templates\tpl_shopping_cart_default.php:196]
#3 require(D:\Server\data\htdocs\includes\templates\BBR_NEW\templates\tpl_shopping_cart_default.php) called at [D:\Server\data\htdocs\includes\templates\BBR_NEW\common\tpl_main_page.php:139]
#4 require(D:\Server\data\htdocs\includes\templates\BBR_NEW\common\tpl_main_page.php) called at [D:\Server\data\htdocs\index.php:97]
--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_BIGSPENDER_DISCOUNT_DESCRIPTION - assumed 'MODULE_ORDER_TOTAL_BIGSPENDER_DISCOUNT_DESCRIPTION' (this will throw an Error in a future version of PHP) in D:\Server\data\htdocs\includes\modules\order_total\ot_bigspender_discount.php on line 151.
[19-Feb-2019 17:23:38 UTC] Request URI: /index.php?main_page=shopping_cart, IP address: ::1
#1 ot_big_chooser->ot_big_chooser() called at [D:\Server\data\htdocs\includes\modules\BBR_NEW\inc_bc.php:5]
#2 include_once(D:\Server\data\htdocs\includes\modules\BBR_NEW\inc_bc.php) called at [D:\Server\data\htdocs\includes\templates\BBR_NEW\templates\tpl_shopping_cart_default.php:197]
#3 require(D:\Server\data\htdocs\includes\templates\BBR_NEW\templates\tpl_shopping_cart_default.php) called at [D:\Server\data\htdocs\includes\templates\BBR_NEW\common\tpl_main_page.php:139]
#4 require(D:\Server\data\htdocs\includes\templates\BBR_NEW\common\tpl_main_page.php) called at [D:\Server\data\htdocs\index.php:97]
--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_BIG_CHOOSER_TITLE - assumed 'MODULE_ORDER_TOTAL_BIG_CHOOSER_TITLE' (this will throw an Error in a future version of PHP) in D:\Server\data\htdocs\includes\modules\order_total\ot_big_chooser.php on line 220.
[19-Feb-2019 17:23:38 UTC] Request URI: /index.php?main_page=shopping_cart, IP address: ::1
#1 ot_big_chooser->ot_big_chooser() called at [D:\Server\data\htdocs\includes\modules\BBR_NEW\inc_bc.php:5]
#2 include_once(D:\Server\data\htdocs\includes\modules\BBR_NEW\inc_bc.php) called at [D:\Server\data\htdocs\includes\templates\BBR_NEW\templates\tpl_shopping_cart_default.php:197]
#3 require(D:\Server\data\htdocs\includes\templates\BBR_NEW\templates\tpl_shopping_cart_default.php) called at [D:\Server\data\htdocs\includes\templates\BBR_NEW\common\tpl_main_page.php:139]
#4 require(D:\Server\data\htdocs\includes\templates\BBR_NEW\common\tpl_main_page.php) called at [D:\Server\data\htdocs\index.php:97]
--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_BIG_CHOOSER_DESCRIPTION - assumed 'MODULE_ORDER_TOTAL_BIG_CHOOSER_DESCRIPTION' (this will throw an Error in a future version of PHP) in D:\Server\data\htdocs\includes\modules\order_total\ot_big_chooser.php on line 221.
[19-Feb-2019 17:23:38 UTC] Request URI: /index.php?main_page=shopping_cart, IP address: ::1
#1 ot_big_chooser->ot_big_chooser() called at [D:\Server\data\htdocs\includes\modules\BBR_NEW\inc_bc.php:5]
#2 include_once(D:\Server\data\htdocs\includes\modules\BBR_NEW\inc_bc.php) called at [D:\Server\data\htdocs\includes\templates\BBR_NEW\templates\tpl_shopping_cart_default.php:197]
#3 require(D:\Server\data\htdocs\includes\templates\BBR_NEW\templates\tpl_shopping_cart_default.php) called at [D:\Server\data\htdocs\includes\templates\BBR_NEW\common\tpl_main_page.php:139]
#4 require(D:\Server\data\htdocs\includes\templates\BBR_NEW\common\tpl_main_page.php) called at [D:\Server\data\htdocs\index.php:97]
--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_BIG_CHOOSER_SORT_ORDER - assumed 'MODULE_ORDER_TOTAL_BIG_CHOOSER_SORT_ORDER' (this will throw an Error in a future version of PHP) in D:\Server\data\htdocs\includes\modules\order_total\ot_big_chooser.php on line 222.
[19-Feb-2019 17:23:38 UTC] Request URI: /index.php?main_page=shopping_cart, IP address: ::1
#1 ot_big_chooser->ot_big_chooser() called at [D:\Server\data\htdocs\includes\modules\BBR_NEW\inc_bc.php:5]
#2 include_once(D:\Server\data\htdocs\includes\modules\BBR_NEW\inc_bc.php) called at [D:\Server\data\htdocs\includes\templates\BBR_NEW\templates\tpl_shopping_cart_default.php:197]
#3 require(D:\Server\data\htdocs\includes\templates\BBR_NEW\templates\tpl_shopping_cart_default.php) called at [D:\Server\data\htdocs\includes\templates\BBR_NEW\common\tpl_main_page.php:139]
#4 require(D:\Server\data\htdocs\includes\templates\BBR_NEW\common\tpl_main_page.php) called at [D:\Server\data\htdocs\index.php:97]
--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_BIG_CHOOSER_INC_TAX - assumed 'MODULE_ORDER_TOTAL_BIG_CHOOSER_INC_TAX' (this will throw an Error in a future version of PHP) in D:\Server\data\htdocs\includes\modules\order_total\ot_big_chooser.php on line 223.
[19-Feb-2019 17:23:38 UTC] Request URI: /index.php?main_page=shopping_cart, IP address: ::1
#1 ot_big_chooser->ot_big_chooser() called at [D:\Server\data\htdocs\includes\modules\BBR_NEW\inc_bc.php:5]
#2 include_once(D:\Server\data\htdocs\includes\modules\BBR_NEW\inc_bc.php) called at [D:\Server\data\htdocs\includes\templates\BBR_NEW\templates\tpl_shopping_cart_default.php:197]
#3 require(D:\Server\data\htdocs\includes\templates\BBR_NEW\templates\tpl_shopping_cart_default.php) called at [D:\Server\data\htdocs\includes\templates\BBR_NEW\common\tpl_main_page.php:139]
#4 require(D:\Server\data\htdocs\includes\templates\BBR_NEW\common\tpl_main_page.php) called at [D:\Server\data\htdocs\index.php:97]
--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_BIG_CHOOSER_CALC_TAX - assumed 'MODULE_ORDER_TOTAL_BIG_CHOOSER_CALC_TAX' (this will throw an Error in a future version of PHP) in D:\Server\data\htdocs\includes\modules\order_total\ot_big_chooser.php on line 224.
Bookmarks