What's New
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.
Hello
We have this error when we try to go on a category page (on the FO) : Parse error: syntax error, unexpected '$category' (T_VARIABLE), expecting function (T_FUNCTION) or const (T_CONST) in /home/ateli3erd3/domains/itis21.ovh/public_html/override/controllers/front/listing/CategoryController.php on line 26
The override is the one from the override module so I tried to reset it but i couldn’t (see attachment) and I tried to uninstall it and had the same issue.
Any idea why and how to correct it?
Thanks a lot
ok found solution in FAQ:
Why I can’t get the Override default behavior module activated.
1. Check if the \override\controllers\front\CategoryController.php file exists. If it exists, make a backup of it, and then remove it.
2. Check if the \modules\stoverride\override\controllers\front\CategoryController.php file exists. Remove it if it exists.
3. Try activating the Override default behavior module again.
Hi,
The issue was due to the VC module, you just need to modify the CategoryController.php file to fix it: https://www.sunnytoo.com/forums/topic/categories-not-working#post-64177
Best regards.
You must be logged in to reply to this topic.