Originally Posted by
rbarbour
That was a fun one to track down...
Looks like I spoke too soon. Shipping estimator displayed but DEBUG files generated now.
Code:
[12-Jan-2019 11:10:25 America/Los_Angeles] Request URI: /156/index.php?main_page=shopping_cart, IP address: 2600:100f:b00c:f38a:cced:4ebf:d2d2:9228
#1 sizeof() called at [/home/cPanelID/public_html/156/includes/classes/shipping.php:186]
#2 shipping->cheapest() called at [/home/cPanelID/public_html/156/includes/modules/shipping_estimator.php:210]
#3 require(/home/cPanelID/public_html/156/includes/modules/shipping_estimator.php) called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php:171]
#4 require(/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php) called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php:188]
#5 require(/home/cPanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php) called at [/home/cPanelID/public_html/156/index.php:97]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/cPanelID/public_html/156/includes/classes/shipping.php on line 186.
[12-Jan-2019 11:10:25 America/Los_Angeles] Request URI: /156/index.php?main_page=shopping_cart, IP address: 2600:100f:b00c:f38a:cced:4ebf:d2d2:9228
#1 sizeof() called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_modules_shipping_estimator.php:153]
#2 require(/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_modules_shipping_estimator.php) called at [/home/cPanelID/public_html/156/includes/modules/shipping_estimator.php:256]
#3 require(/home/cPanelID/public_html/156/includes/modules/shipping_estimator.php) called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php:171]
#4 require(/home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php) called at [/home/cPanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php:188]
#5 require(/home/cPanelID/public_html/156/includes/templates/bootstrap/common/tpl_main_page.php) called at [/home/cPanelID/public_html/156/index.php:97]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/cPanelID/public_html/156/includes/templates/bootstrap/templates/tpl_modules_shipping_estimator.php on line 153.
Not sure where it is getting the ProductID but this DEBUG file also is present a few times. Different product_id. Using phone instead of desktop.
Code:
[12-Jan-2019 11:13:09 America/Los_Angeles] Request URI: /156/index.php?main_page=shopping_cart&product_id=651%3A5058ffcbfc8164c194b4a2ac6cb718c6, IP address: 2600:100f:b00c:f38a:cced:4ebf:d2d2:9228
#1 require(/home/cPanelID/public_html/156/includes/modules/pages/shopping_cart/header_php_shopping_cart_zca_bootstrap.php) called at [/home/chaisinf/public_html/156/index.php:36]
--> PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/cPanelID/public_html/156/includes/modules/pages/shopping_cart/header_php_shopping_cart_zca_bootstrap.php on line 9.
Bookmarks