Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

ERROR - Class 'Grav\Plugin\Login\Controller' not found

Started by Muut Archive 11 years ago · 24 replies · 1475 views
11 years ago

Not sure if i asked this already but please PM me a link to a ZIP of your site, and i'll try locally.

11 years ago

@bdillahu zip and send us (via Gitter) your user/plugins/login folder to check why is that happening.

11 years ago

The error is, for those having the same, during an update the user/plugins/login/classes/controller.php was renamed to user/plugins/login/classes/Controller.php (notice the capital C).
Probably the GPM update didn't rename the file, considering it the same filename but on case-sensitive filesystems (Mac, Linux) it's not.

So to solve this, manually rename user/plugins/login/classes/controller.php to user/plugins/login/classes/Controller.php

11 years ago

Yeah! I think that was it...

And with things in git (sorry, I'm not the strongest git user), the lower case "controller.php" was "hidden" or eclipsed or something.

Doing a:

git mv -f controller.php Controller.php

worked, even though you couldn't see a controller.php in existence. Maybe this is a quirk of a Mac's filesystem (I'm more used to a Linux box for this kind of thing).

Thanks again!

10 years ago

Renaming the controller.php as @flaviocopes suggested worked for me

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1354 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4064 9 years ago
Archive · by Muut Archive, 9 years ago
1 2951 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago