Skip to main content

TaxCloud Warning on checkout step 2

More
7 years 11 months ago #298964 by dbarnhart863
-- HikaShop version -- : 4.0.0
-- Joomla version -- : 3.8.12
-- PHP version -- : 7.1
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : Warning: Creating default object from empty value in /home/devidall/public_html/plugins/hikashop/taxcloud/taxcloud.phhp on line 468

I am getting a TaxCloud Warning on my website after updating Hikashop and Joomla

After a user pays on my site and on the checkout step 2, I am getting a TaxCloud Warning:
Warning: Creating default object from empty value in /home/devidall/public_html/plugins/hikashop/taxcloud/taxcloud.phhp on line 468.

I turned on taxcloud debug and other information is shown along with the warning. See attached pics.

Please advise.

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #298969 by nicolas
Hi,

Add the code:
Code:
if(!isset($product->order_product_params)) $product->order_product_params = new stdClass(); if(!isset($product->order_product_params->taxcloud)) $product->order_product_params->taxcloud = new stdClass();
before the code:
Code:
$product->order_product_params->taxcloud->taxcloud_id = $id;
in that file and that will remove the message.
We'll add the change on our end too.
The following user(s) said Thank You: dbarnhart863

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #299018 by dbarnhart863
Great. Thank you that fixed it.

Please Log in or Create an account to join the conversation.

Time to create page: 0.162 seconds
Powered by Kunena Forum