PHP Notice on checkout completion

  • Posts: 195
  • Thank you received: 13
  • Hikashop Business
4 years 1 month ago #324771

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.22
-- PHP version -- : 7.2.34
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined property: stdClass::$order_product_dimension_unit in /home/threeby4/subdomains/learn/administrator/components/com_hikashop/classes/order.php on line 1280

Notice: Undefined property: stdClass::$order_product_length in /home/threeby4/subdomains/learn/administrator/components/com_hikashop/classes/order.php on line 1284

The following two errors are reported on the END of checkout.

Notice: Undefined property: stdClass::$order_product_dimension_unit in /home/threeby4/subdomains/learn/administrator/components/com_hikashop/classes/order.php on line 1280

Notice: Undefined property: stdClass::$order_product_length in /home/threeby4/subdomains/learn/administrator/components/com_hikashop/classes/order.php on line 1284

I just updated this test site from 4.3.0 to 4.4.0. That's when these notice messages began. This site is used to test updates to our Braintree Payment Plugin, so checking out can be completed with that payment method which is set to use the Braintree sandbox.

Is there a minimum PHP requirement for 4.4.0?

Thanks


3by400, Inc.
3by400.com
Websites that Work, Marketing that Matters

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 1 month ago #324774

Hi,

Thanks for your feedback. I've added a patch on our end to better handle some cases and that should prevent that issue.
Please download again the install package of the 4.4.0 and install it on your website and it should be fine.

There is no minimum requirement for PHP for the 4.4.0. If you can run Joomla, you can run HikaShop.

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

  • Posts: 195
  • Thank you received: 13
  • Hikashop Business
4 years 1 month ago #324785

Nicolas,
That solved it. We appreciate the quick update.
Thanks, Paul


3by400, Inc.
3by400.com
Websites that Work, Marketing that Matters

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

  • Posts: 231
  • Thank you received: 28
  • Hikashop Business
3 years 2 months ago #335481

Notice: Undefined property: PlgHikashopErpstatuscompare::$name in /administrator/components/com_hikashop/helpers/paymentplugin.php on line 209
index.php?option=com_hikashop&ctrl=checkout&task=after_end&order_id=229&Itemid=275

My custom plugin: PlgHikashopErpstatuscompare extends hikashopPaymentPlugin.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 2 months ago #335483

Hi,

This means that you're missing the line:
var $name = 'erpstatuscompare';
to define the $name attribute in your class.

The following user(s) said Thank You: oxido

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

Time to create page: 0.064 seconds
Powered by Kunena Forum