can't fix fatal error

  • Posts: 1
  • Thank you received: 0
12 years 11 months ago #32983

hi,

I am new to hikashop. I keep getting this error message: Fatal error: Cannot use object of type stdClass as array in /home/drage/public_html/components/com_hikashop/controllers/checkout.php on line 811

the site looks fine, however, once you hit the next button, this error shows up.

any thoughts?

thanks in advance
lauren

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #32985

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.056 seconds
Powered by Kunena Forum