1.5.7d
PHP 8.1
Edit Orders 4.6.2
TyPackage Tracker 4.0.1
Twitch Spoon 13a
I am getting the following warning log:
**************************
[29-Jun-2022 19:33:25 America/Boise] Request URI: /index.php?main_page=shopping_cart, IP address:
#1 require(/public_html/includes/templates/template_default/templates/tpl_modules_shipping_estimator.php) called at [/public_html/includes/modules/shipping_estimator.php:297]
#2 require(/public_html/includes/modules/shipping_estimator.php) called at [/public_html/includes/templates/wsworx/templates/tpl_shopping_cart_default.php:204]
#3 require(/public_html/includes/templates/wsworx/templates/tpl_shopping_cart_default.php) called at [/public_html/includes/templates/wsworx/common/tpl_main_page.php:178]
#4 require(/public_html/includes/templates/wsworx/common/tpl_main_page.php) called at [/public_html/index.php:94]
--> PHP Warning: Trying to access array offset on value of type bool in /public_html/includes/templates/template_default/templates/tpl_modules_shipping_estimator.php on line 119.
***************************
I have looked at the code but I cannot figure out why it is throwing this error:
Code:
119 if($selected_shipping['id'] == $thisquoteid){
It is being defined earlier in the code:
Code:
13 if (is_array($selected_shipping)) {
14 zen_draw_hidden_field('scid', $selected_shipping['id']);
I am only getting the warning log after a customer completely checks out.
Any help would be greatly appreciated.
Thank You
Bookmarks