- Posts: 1
- Thank you received: 0
can't fix fatal error
14 years 9 months ago #32983
by fein111
can't fix fatal error was created by fein111
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
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.
14 years 9 months ago #32985
by nicolas
Replied by nicolas on topic Re: can't fix fatal error
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.
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.152 seconds