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
Error 0 Cannot use object of type stdClass as array with the category view or product view
-
- Phoca Member
- Posts: 13
- Joined: 16 Jul 2020, 22:22
-
- Phoca Member
- Posts: 13
- Joined: 16 Jul 2020, 22:22
Re: Error 0 Cannot use object of type stdClass as array with the category view or product view
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 :-)
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 :-)
-
- Phoca Member
- Posts: 13
- Joined: 16 Jul 2020, 22:22
Re: Error 0 Cannot use object of type stdClass as array with the category view or product view
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
If someone good in php can see the error
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error 0 Cannot use object of type stdClass as array with the category view or product view
Hi, sorry for late response, do you still get the error? I don't see it on the site?
Jan
Jan
If you find Phoca extensions useful, please support the project