Unable to edit pages - An unexpected error occurred
Permalink
I'm getting the following when I try to edit pages:
An unexpected error occurred.
Class '\Concrete\Block\SwitchLanguage\Controller' not found
I'm inquiring of the client as to when and with what recent changes this issue first occurred. So far it appears limited to editing pages (Dashboard seems to work fine, can login fine, modify users and clear cache alright).
New to 5.7 - advice is appreciated. I'm going to keep digging through the logs, but nothing looks obvious yet.
Best,
G
----- Relevant Logs ------
Exception Occurred: /var/www/vhosts/universalcells.com/httpdocs/concrete/src/Block/BlockType/BlockType.php:714 Class '\Concrete\Block\SwitchLanguage\Controller' not found (1)
An unexpected error occurred.
Class '\Concrete\Block\SwitchLanguage\Controller' not found
I'm inquiring of the client as to when and with what recent changes this issue first occurred. So far it appears limited to editing pages (Dashboard seems to work fine, can login fine, modify users and clear cache alright).
New to 5.7 - advice is appreciated. I'm going to keep digging through the logs, but nothing looks obvious yet.
Best,
G
----- Relevant Logs ------
Exception Occurred: /var/www/vhosts/universalcells.com/httpdocs/concrete/src/Block/BlockType/BlockType.php:714 Class '\Concrete\Block\SwitchLanguage\Controller' not found (1)
Hello MrKD,
I unfortunately don't know the history of the site. Client logged in for the first time in months and found it broken.
Wouldn't you know it, the entire switch_language directory was missing...
I just copied the contents over from a fresh download and the Edit button is working again.
I'm asking for validation now.
Thanks for your assistance man! :)
Best,
G
I unfortunately don't know the history of the site. Client logged in for the first time in months and found it broken.
Wouldn't you know it, the entire switch_language directory was missing...
I just copied the contents over from a fresh download and the Edit button is working again.
I'm asking for validation now.
Thanks for your assistance man! :)
Best,
G
Is this a new install?
Have you checked the server to see if that controller file is there?
concrete\blocks\switch_language\controller.php