XF 2.2 Class Extension fail


Active member
Hi Guys,

I was busy adding a class extension, until I got this error (See below). I have tried to delete the class manually via database, refreshed etcetera but nothing seems to work.

An exception occurred: [Exception] Could not find class DN\FeaturedMember\Entity\User when attempting to extend XF\Entity\User in src/XF/Extension.php on line 176

XF\Extension->extendClass() in src/XF/Mvc/Entity/Manager.php at line 55
XF\Mvc\Entity\Manager->getEntityClassName() in src/XF/Mvc/Entity/Manager.php at line 69
XF\Mvc\Entity\Manager->getEntityStructure() in src/XF/Repository/User.php at line 86
XF\Repository\User->getGuestUser() in src/XF/Repository/User.php at line 32
XF\Repository\User->getVisitor() in src/XF/App.php at line 1919
XF\App->getVisitorFromSession() in src/XF/Admin/App.php at line 55
XF\Admin\App->start() in src/XF/App.php at line 2347
XF\App->run() in src/XF.php at line 517
XF::runApp() in admin.php at line 13

Someone can help me how to fix this? As this error is denying me also to enter the admin panel.