Hi, I have updated phoca cart to the latest version, but I have a problem with the product categories that I didn't have before, everything worked correctly.
In the SHOP menu item I have sub-items, CARS, TRUCKS, MOTORCYCLES, etc.
When I click on the menu sub-items of the SHOP item, everything is ok, the products appear and I have no errors (as per the attached image).
When I enter the sub-items of CARS, TRUCKS, MOTORCYCLES, etc., this error appears on the page: 0 CLASS "PHOCACARTCATEGORY" NOT FOUND
I don't understand how to fix
Pictures attached:
https://imgur.com/a/yPerLWR
0 CLASS "PHOCACARTCATEGORY" NOT FOUND
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 0 CLASS "PHOCACARTCATEGORY" NOT FOUND
Hi what type of menu link is the one to submenu? Can you enable debug mode so the error message tells more (including debug trace)
Jan
Jan
If you find Phoca extensions useful, please support the project
- SAF
- Phoca Member
- Posts: 17
- Joined: 27 Mar 2023, 09:49
Re: 0 CLASS "PHOCACARTCATEGORY" NOT FOUND
Sorry if I answer only now but I needed to restore the backup of the phoca cart 4.0.5 version out of necessity, unfortunately I could not wait. Now I have made a clone of the site, so I can do all the tests and correct the errors without affecting the site in production. Having said that I have to point out a strange thing, in the meantime that I was restoring the site (Joomla 4.2.9 - PHP 8.0.28) a new joomla update to 4.3 came out which I did. Just updated Joomla, the phoca cart update to version 4.0.6 notice disappeared
Anyway, you can bring the previous version of Joomla 4.2.9 php 8.0.28 and phoca cart 4.0.5 back to the test site and try again to update phoca cart , to see if you can fix the errors.
Before restoring the site I noticed that the 0 CLASS "PHOCACARTCATEGORY" NOT FOUND error did not affect only the categories but the phoca cart menu items
Anyway, you can bring the previous version of Joomla 4.2.9 php 8.0.28 and phoca cart 4.0.5 back to the test site and try again to update phoca cart , to see if you can fix the errors.
Before restoring the site I noticed that the 0 CLASS "PHOCACARTCATEGORY" NOT FOUND error did not affect only the categories but the phoca cart menu items
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 0 CLASS "PHOCACARTCATEGORY" NOT FOUND
Hi, OK, thank you for the info, will be great, in case you get such error, just enable debug mode so the error message displays including the line where it occures and the file where this occurs (including the trace).
Thank you, Jan
Thank you, Jan
If you find Phoca extensions useful, please support the project