ot_insurance does not appear to work with php7.1 after upgrade from php 5.6

Issue #1 new
Lynda Leung created an issue

ZC 1.5.5f (reproducible on 1.5.5e too) Upgrading from Php 5.6 to 5.7 breaks this module including ensuring my php.ini was migrated properly.

First symptom is upon a user attempts to checkout and pay for the product on index.php?main_page=checkout_payment , the screen returns blank. Second symptom is the edit Edit and Remove buttons within the administration page of the module does not show up anymore. The module list is of course still green light. I can click on the module listing again to edit the attribute of the module that way.

According to the debug log, there's evident that something isnt compatible with the module. [18-Jan-2018 20:08:08 America/Los_Angeles] PHP Fatal error: Uncaught Error: Call to undefined function split() in /home/www/includes/modules/order_total/ot_insurance.php:128 Stack trace: #0 /home/www/includes/classes/order_total.php(185): ot_insurance->process() #1 /home/www/includes/modules/pages/checkout_payment/header_php.php(101): order_total->pre_confirmation_check() #2 /home/www/index.php(36): require('/home/www/ang...') #3 {main} thrown in /home/www/includes/modules/order_total/ot_insurance.php on line 128

Disabling, but not Removing (Since I cant do that without the button) the module will make my shopping cart work again.

I've also posted on the Zencart Forum here:

https://www.zen-cart.com/showthread.php?50167-Optional-Shipping-Insurance-Module-Support-Thread/page39

Comments (1)

  1. Log in to comment