
Originally Posted by
brian70809
Zen Cart 2.1
PHP 8.3
I'm getting this error
#0 /zc_plugins/USPSRestful/v1.1.2/catalog/includes/modules/shipping/uspsr.php(1699): zen_debug_error_handler()
#1 /zc_plugins/USPSRestful/v1.1.2/catalog/includes/modules/shipping/uspsr.php(294): uspsr->update_status()
#2 /includes/classes/shipping.php(112): uspsr->__construct()
#3 /includes/classes/shipping.php(55): shipping->initialize_modules()
#4 /includes/modules/pages/checkout_one/header_php.php(182): shipping->__construct()
#5 /index.php(35): require('...')
--> PHP Warning: foreach() argument must be of type array|object, string given in /zc_plugins/USPSRestful/v1.1.2/catalog/includes/modules/shipping/uspsr.php on line 1699.
Wait, that is ...
PHP Code:
foreach ($check->fields['zone_id'] as $zone) {
if ($zone < 1 || $zone === $order->delivery['zone_id']) $check_flag = true;
}
Did you enable the geo blocking feature? Need a bit more about the configuration of the module to start tracking this down.
Bookmarks