Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Can't install Admin plugin

Started by Ben Tollady 9 years ago · 2 replies · 986 views
9 years ago

I've installed the Clean Blog skeleton (working locally with MAMP). Now I'm trying to install the Admin Plugin.

For some reason I can't get any Terminal commands to work so I've tried installing admin manually. I'm getting the following error though...

"Call to undefined method Grav\Plugin\Login\Events\UserLoginEvent::toArray()".

Any ideas?

I have a feeling it may be because the skeleton version of Grav is old..? But I can't update as I can't get the Terminal commands to work.

Lastly - am I correct to put the contents of the grav folder in my htdocs folder, rather than the grav folder itself?

Thanks.

9 years ago

Have you installed "Login", "Email" and "Error" Plugins? They are dependencies for Admin.

9 years ago

Figured it out. I was adding the $ to Terminal commands ("$ bin/gpm install admin" instead of "bin/gpm install admin").

Thanks for the fast reply!

Suggested topics

Topic Participants Replies Views Activity
Plugins · by renedebaaij, 4 hours ago
0 8 4 hours ago
Plugins · by complanar, 2 weeks ago
6 377 2 weeks ago
Plugins · by BenLaKnet, 2 weeks ago
1 192 2 weeks ago
Plugins · by complanar, 1 month ago
2 471 4 weeks ago
Plugins · by Vladimir Novak, 2 months ago
3 749 2 months ago