XF 2.2 InvalidArgumentException: Must provide an existing add-on or add-on JSON

Robert9

Well-known member
A small hint would be very helpful here, which add-on makes the problems ...

Code:
InvalidArgumentException: Must provide an existing add-on or add-on JSON in src/XF/AddOn/Manager.php at line 366

    XF\AddOn\Manager->loadAddOnClass() in src/XF/AddOn/Manager.php at line 41
    XF\AddOn\Manager->getAllAddOns() in src/XF/Admin/Controller/AddOn.php at line 27
    XF\Admin\Controller\AddOn->actionIndex() in src/XF/Mvc/Dispatcher.php at line 352
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2483
    XF\App->run() in src/XF.php at line 524
    XF::runApp() in admin.php at line 13
 
Shooting in the dark here, but is there any addon in the src/addons/ directory not having a addon.json file?
 
Just had a similar issue... forgot I made a backup of an addon in /src/addons/Whatever-Backup .. caused this same issue.

Just a heads up for anyone.
 
Back
Top Bottom