Magento2: Can't open admin panel (Class Magento\User\Model\Resource\User does not exist)

Created on 7 Jan 2016  路  6Comments  路  Source: magento/magento2

After I install magento 2, the admin panel can't be open, but in frontend store working
"There has been an error processing your request

Exception printing is disabled by default for security reasons.

Error log record number: 846107250"

anyone can help? (please help me and sorry for the bad english)
here the 846107250 file
846107250.txt

needs update

Most helpful comment

I was having the issue as mentioned by @GianniPDF

In my case, it was the issue with var/generation directory. Magento 2 creates Factory classes and stores in this directory.

I cleared var/generation directory and set it's ownership as that of var/cache and var/page_cache directory. And, now the issue is solved. I am able to login to admin again.

All 6 comments

I have a similar issue but with class Magento\Authorization\Model\RoleFactory, i posted it in stackexchange, http://magento.stackexchange.com/questions/96024/magento-2-admin-url-gives-error-class-magento-authorization-model-rolefactory/96075#96075 but error persist

in my case, it just happen when I clone from 2.0 branch, if I clone from develop, it working correctly

I have the exact same problem.

Class Magento\User\Model\Resource\User does not exist followed by a stack trace.

I was having the issue as mentioned by @GianniPDF

In my case, it was the issue with var/generation directory. Magento 2 creates Factory classes and stores in this directory.

I cleared var/generation directory and set it's ownership as that of var/cache and var/page_cache directory. And, now the issue is solved. I am able to login to admin again.

@adampmoss @GianniPDF @ragum did @chapagain's suggestion help?

its fine now, after update magento 2.0.2
and edit .htaccess on root folder unstag SetEnv MAGE_MODE developer

Was this page helpful?
0 / 5 - 0 ratings