- Posts: 54
- Thank you received: 3
TaxCloud Warning on checkout step 2
- dbarnhart863
-
Topic Author
- Offline
Less
More
8 years 2 weeks ago #298964
by dbarnhart863
TaxCloud Warning on checkout step 2 was created 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.
-- 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.
8 years 2 weeks ago #298969
by nicolas
Replied by nicolas on topic TaxCloud Warning on checkout step 2
Hi,
Add the code:
before the code:
in that file and that will remove the message.
We'll add the change on our end too.
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();
Code:
$product->order_product_params->taxcloud->taxcloud_id = $id;
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.
- dbarnhart863
-
Topic Author
- Offline
Less
More
- Posts: 54
- Thank you received: 3
8 years 2 weeks ago #299018
by dbarnhart863
Replied by dbarnhart863 on topic TaxCloud Warning on checkout step 2
Great. Thank you that fixed it.
Please Log in or Create an account to join the conversation.
Time to create page: 0.103 seconds