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

Can't install Admin plugin

Started by Ben Tollady 9 years ago · 2 replies · 909 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 Vladimir Novak, 2 weeks ago
3 291 2 weeks ago
Plugins · by Mathieu Lecouturier, 3 weeks ago
3 277 3 weeks ago
Plugins · by Slebeig, 2 months ago
1 403 2 months ago
Plugins · by Rene, 2 months ago
2 574 2 months ago
Plugins · by Xavier, 3 months ago
2 490 3 months ago