
Originally Posted by
simon1066
Code:
[24-Mar-2023 16:08:15 Europe/London] PHP Fatal error: Uncaught TypeError: zen_get_zone_code(): Argument #2 ($zone_id) must be of type int, string given, called in /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php on line 2080 and defined in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php:173
Stack trace:
#0 /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php(2080): zen_get_zone_code()
#1 /home/mydomain_uk/public_html/includes/classes/observers/class.checkout_one_observer.php(597): OnePageCheckout->createPayPalTemporaryAddressInfo()
#2 /home/mydomain_uk/public_html/includes/classes/traits/NotifierManager.php(87): checkout_one_observer->update()
#3 /home/mydomain_uk/public_html/includes/modules/payment/paypalwpp.php(1768): base->notify()
#4 /home/mydomain_uk/public_html/ipn_main_handler.php(75): paypalwpp->ec_step1()
#5 {main}
thrown in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php on line 173
[24-Mar-2023 16:08:15 Europe/London] Request URI: /ipn_main_handler.php?type=ec&markflow=1&clearSess=1&stage=final, IP address:
--> PHP Fatal error: Uncaught TypeError: zen_get_zone_code(): Argument #2 ($zone_id) must be of type int, string given, called in /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php on line 2080 and defined in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php:173
Stack trace:
#0 /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php(2080): zen_get_zone_code()
#1 /home/mydomain_uk/public_html/includes/classes/observers/class.checkout_one_observer.php(597): OnePageCheckout->createPayPalTemporaryAddressInfo()
#2 /home/mydomain_uk/public_html/includes/classes/traits/NotifierManager.php(87): checkout_one_observer->update()
#3 /home/mydomain_uk/public_html/includes/modules/payment/paypalwpp.php(1768): base->notify()
#4 /home/mydomain_uk/public_html/ipn_main_handler.php(75): paypalwpp->ec_step1()
#5 {main}
thrown in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php on line 173.
I've just attempted a Square WebPay (v1.0.1) checkout, again as a Guest, and get the same error, albeit not apparently referring to OPC. Can checkout successfully with Square not as a Guest
Code:
[25-Mar-2023 09:24:03 Europe/London] PHP Fatal error: Uncaught TypeError: zen_get_zone_code(): Argument #2 ($zone_id) must be of type int, string given, called in /home/mydomain_uk/public_html/includes/modules/payment/square_webPay.php on line 319 and defined in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php:173
Stack trace:
#0 /home/mydomain_uk/public_html/includes/modules/payment/square_webPay.php(319): zen_get_zone_code()
#1 /home/mydomain_uk/public_html/includes/classes/payment.php(288): square_webPay->before_process()
#2 /home/mydomain_uk/public_html/includes/modules/checkout_process.php(98): payment->before_process()
#3 /home/mydomain_uk/public_html/includes/modules/pages/checkout_process/header_php.php(13): require('...')
#4 /home/mydomain_uk/public_html/index.php(35): require('...')
#5 {main}
thrown in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php on line 173
[25-Mar-2023 09:24:03 Europe/London] Request URI: /index.php?main_page=checkout_process, IP address:
--> PHP Fatal error: Uncaught TypeError: zen_get_zone_code(): Argument #2 ($zone_id) must be of type int, string given, called in /home/mydomain_uk/public_html/includes/modules/payment/square_webPay.php on line 319 and defined in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php:173
Stack trace:
#0 /home/mydomain_uk/public_html/includes/modules/payment/square_webPay.php(319): zen_get_zone_code()
#1 /home/mydomain_uk/public_html/includes/classes/payment.php(288): square_webPay->before_process()
#2 /home/mydomain_uk/public_html/includes/modules/checkout_process.php(98): payment->before_process()
#3 /home/mydomain_uk/public_html/includes/modules/pages/checkout_process/header_php.php(13): require('...')
#4 /home/mydomain_uk/public_html/index.php(35): require('...')
#5 {main}
thrown in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php on line 173.
I wonder if I should focus my attention on includes/functions/functions_addresses.php line #173