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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

Can't install Admin plugin

Started by Ben Tollady 9 years ago · 2 replies · 734 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 Rene, 1 week ago
2 43 1 week ago
Plugins · by Xavier, 4 weeks ago
2 54 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1181 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 48 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 73 2 months ago