redsautorehab.com
1.5.8
PHP 8.0
I have not gotten a single order in several days, and had a customer call me to let me know that they can't pay. I verified that after entering the credit card info, and hitting the continue button, nothing happens at all, and I get a php fatal error with zcAjaxPayment.php. I checked on my host's website, and it looks like they forced me into php 8.0 recently with no way of going back to a lower version, so I need to figure out how to prevent this fatal error.
[28-Feb-2024 14:00:35 America/Boise] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 71.223.48.160
#1 zcAjaxPayment->prepareConfirmation() called at [/home1/redsauto/public_html/ajax.php:85]
--> PHP Warning: Undefined array key "cc_id" in /home1/redsauto/public_html/includes/classes/ajax/zcAjaxPayment.php on line 129.

[28-Feb-2024 14:00:35 America/Boise] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 71.223.48.160
#1 zcAjaxPayment->prepareConfirmation() called at [/home1/redsauto/public_html/ajax.php:85]
--> PHP Warning: Undefined variable $paypaldp in /home1/redsauto/public_html/includes/classes/ajax/zcAjaxPayment.php on line 166.

[28-Feb-2024 14:00:35 America/Boise] PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /home1/redsauto/public_html/includes/classes/ajax/zcAjaxPayment.php:166
Stack trace:
#0 /home1/redsauto/public_html/includes/classes/ajax/zcAjaxPayment.php(166): method_exists(NULL, 'alterShippingEd...')
#1 /home1/redsauto/public_html/ajax.php(85): zcAjaxPayment->prepareConfirmation()
#2 {main}
thrown in /home1/redsauto/public_html/includes/classes/ajax/zcAjaxPayment.php on line 166

[28-Feb-2024 14:00:35 America/Boise] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 71.223.48.160
--> PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /home1/redsauto/public_html/includes/classes/ajax/zcAjaxPayment.php:166
Stack trace:
#0 /home1/redsauto/public_html/includes/classes/ajax/zcAjaxPayment.php(166): method_exists(NULL, 'alterShippingEd...')
#1 /home1/redsauto/public_html/ajax.php(85): zcAjaxPayment->prepareConfirmation()
#2 {main}
thrown in /home1/redsauto/public_html/includes/classes/ajax/zcAjaxPayment.php on line 166.