Page 1 of 1

Error 0 Cannot use object of type stdClass as array with the category view or product view

Posted: 16 Jul 2020, 22:27
by Sno Melli
Hi to everybody,
I am testing Phoca Cart for a my new website, but i have this strange error when i go to see the categorie of my shop :
0 Cannot use object of type stdClass as array
I don't understand why ? it appears only when i publish a product. Without product, there is no error.

You can see it here : https://colbeau.fr/colbeau2/index.php/b ... s-papillon

Thank you for helping me

Re: Error 0 Cannot use object of type stdClass as array with the category view or product view

Posted: 16 Jul 2020, 22:53
by Sno Melli
Maybe i have find the solution here : https://www.joomforest.com/help/forum/j ... te-problem
Because i have tested with another template and it seems working so i have searched on this way and with another error, i have found this.
So now it seems working :-)

Re: Error 0 Cannot use object of type stdClass as array with the category view or product view

Posted: 17 Jul 2020, 00:16
by Sno Melli
In fact, it's not the solution, but it pointed where is the error. But i don't understand so well php. I have tried to make changes, but it doesn't works.
If someone good in php can see the error

Re: Error 0 Cannot use object of type stdClass as array with the category view or product view

Posted: 27 Jul 2020, 22:06
by Jan
Hi, sorry for late response, do you still get the error? I don't see it on the site?

Jan