XF 2.2 Error installing plugin

canina

Member
I previously created a plugin, directly to the site,
Someone uninstalled it, and now when I try to run the installation again I get the error below.


Code:
Error: Class '\Mygroupsembership\Setup' not found in src/XF/AddOn/AddOn.php at line 442
XF\AddOn\AddOn->checkRequirements() in src/XF/Admin/Controller/AddOn.php at line 780
XF\Admin\Controller\AddOn->getAddOnWarningsAndErrors() in src/XF/Admin/Controller/AddOn.php at line 374
XF\Admin\Controller\AddOn->actionInstall() in src/XF/Mvc/Dispatcher.php at line 350
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2337
XF\App->run() in src/XF.php at line 488
XF::runApp() in admin.php at line 13
This may be an installation file that I did not set up correctly.

(Checking the health of the site files shows that all the files exist)

Can I get guidance on what to do?
Thank you.
 

Jeremy P

XenForo developer
Staff member
Either remove the Setup.php file from the add-on directory if it does not do anything, or double check its namespace and class name.
 
Top