Admin plugin

I keep getting this error on back end
InvalidArgumentException thrown with message “Identifier “user” is not defined.”

#10 InvalidArgumentException in /home/mypath/birthday/vendor/pimple/pimple/src/Pimple/Container.php:95
#9 Pimple\Container:offsetGet in /home/mypath/birthday/user/plugins/admin/classes/admin.php:93
#8 Grav\Plugin\Admin:__construct in /home/mypath/birthday/user/plugins/admin/admin.php:309
#7 Grav\Plugin\AdminPlugin:initializeAdmin in /home/mypath/birthday/user/plugins/admin/admin.php:113
#6 Grav\Plugin\AdminPlugin:onPluginsInitialized in <#unknown>:0
#5 call_user_func in /home/mypath/birthday/vendor/symfony/event-dispatcher/EventDispatcher. php:164
#4 Symfony\Component\EventDispatcher\EventDispatcher:doDispatch in /home/mypath/birthday/vendor/symfony/event-dispatcher/EventDispatcher. php:53
#3 Symfony\Component\EventDispatcher\EventDispatcher:dispatch in /home/mypath/birthday/vendor/rockettheme/toolbox/Event/src/EventDispat cher.php:23
#2 RocketTheme\Toolbox\Event\EventDispatcher:dispatch in /home/mypath/birthday/system/src/Grav/Common/Gra v.php:371
#1 Grav\Common\Grav:fireEvent in /home/mypath/birthday/system/src/Grav/Common/Grav.php:201
#0 Grav\Common\Grav:process in /home/mypath/birthday/index.php:31

I have a user/accounts/admin.yaml file like:

email: xxxx
fullname: 'xxxxx'
title: 'Site Administrator'
access:
  site.login: true
admin:
    login: true
    super: true
authenticated: true
hashed_password: $2y$10$8FapKwpx9pjsja1nrvyPdOKZbHqWJCaxdugRJetOdSSzexBHrACoG

Am i missing a config?

Not sure if this is the problem, but the admin.yaml structure should be

access:
  admin:
    login: true
    super: true
  site:
    login: true

does it change anything?

thx for reply - changed that but no difference. still get

The ‘login’ plugin is installed, right?

stupid question : how can i tell?

argh / doh!
i had underscored the folder

because of an issue with private plugin…

Does it work now?

Yes thx but it causes issues with private plugin not rendering. My bad reporting this as issue. See my other post ‘Login and private plugin’

Seems there is a twig template conflict between login plugin which is needed and used by the admin plugin, and the private plugin which has the same template name. So currently these two plugins are not compatible with one another.

Thx for this - will attack that issue in private plugin when i have a moment