Fatal error: Cannot use object of type stdClass as

  • Posts: 29
  • Thank you received: 0
12 years 11 months ago #33036

Fatal error: Cannot use object of type stdClass as array in /home/content/55/6067155/html/components/com_hikashop/controllers/checkout.php on line 811

I can't click on either paypal or google checkout without getting the above error

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

  • Posts: 29
  • Thank you received: 0
12 years 11 months ago #33037

I found the answer here.

www.hikashop.com/fr/support/forum/2-gene...fix-fatal-error.html

Answered by: Nicolas

Hi,

Thank you for your feedback.
Please change the line:
$app->setUserState( HIKASHOP_COMPONENT.'.payment_data',$paymentData[$payment_id]);
to:
$app->setUserState( HIKASHOP_COMPONENT.'.payment_data',$paymentData);
in the file components/com_hikashop/controllers/checkout.php and that will fix the problem.
We'll fix that ASAP on our end.

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

Time to create page: 0.053 seconds
Powered by Kunena Forum