Page 1 of 1

0 CLASS "PHOCACARTCATEGORY" NOT FOUND

Posted: 18 Apr 2023, 09:05
by SAF
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

Re: 0 CLASS "PHOCACARTCATEGORY" NOT FOUND

Posted: 18 Apr 2023, 13:27
by Jan
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

Re: 0 CLASS "PHOCACARTCATEGORY" NOT FOUND

Posted: 20 Apr 2023, 11:34
by SAF
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

Re: 0 CLASS "PHOCACARTCATEGORY" NOT FOUND

Posted: 28 Apr 2023, 16:19
by Jan
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