Cindy - My site runs on PHP 7.4, but I switched over to PHP 8.1 to test it out and iron out the bugs.
Can you help me resolve this error: --> PHP Warning: Attempt to read property "delivery" on null in includes/classes/OnePageCheckout.php on line 225.
I am running OPC 2.4.6.
I assume the error is a configuration thing on my end, since OPC 2.4.6. came out long after PHP 8.1 was in use.
The code snippet from that version is basically this:
global $order, $db;
$order_country = -1;
$order_country = $order->delivery['country_id'];
- Jeff
After digging through the install process, I believe that under the following circumstances, OPC appears to be drop in.
ZC 2.0
IH
Clone a Template
Bootstrap (and I am using a clone of Bootstrap)
BS4 Slider
I did not see any files that needed to be merged but I wanted a sanity check :O
Has the situation changed where OPC's YOUR_TEMPLATE information sidebox needed to be installed prior to that of bootstrap?
A little help with colors.
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
A little help with colors.
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
zencart 2.0
php 8.3
one_page_checkout-2.5.1
ZC200LangPack_JP_2.0.0[japanese]
Q:
After the module is uploaded, the zencart backend cannot log in, prompting this error.
A:PHP Code:--> PHP Fatal error: MySQL error 1364: Field 'entry_telephone' doesn't have a default value :: INSERT INTO address_book (customers_id, entry_firstname, entry_lastname, entry_street_address, entry_country_id, entry_zone_id) VALUES ('2', 'Guest', 'Customer, **do not remove**', 'Default billing address', '107', '293') ==> (as called by) /home/xxx/public_html/includes/functions/database.php on line 134 <== in /home/e99adba/public_html/includes/classes/db/mysql/query_factory.php on line 714.
Update database fields
ALTER TABLE `address_book` CHANGE `entry_telephone` `entry_telephone` VARCHAR(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;