XF 2.3 HELP!!! FORUM COMPLETELY MESSED UP AFTER UPGRADE :-(

AndreaMarucci

Well-known member
Hello, just updated to 2.3.3 latest and now my forum is completely gone :-(


as soon as I enter the admin I got this

Code:
InvalidArgumentException: Must provide an existing add-on or add-on JSON in src/XF/AddOn/Manager.php at line 376
XF\AddOn\Manager->loadAddOnClass() in src/XF/AddOn/Manager.php at line 45
XF\AddOn\Manager->getAllAddOns() in src/XF/AddOn/Manager.php at line 69
XF\AddOn\Manager->getInstalledAddOns() in src/XF/Admin/Controller/IndexController.php at line 95
XF\Admin\Controller\IndexController->actionIndex() in src/addons/Andy/AdminNotes/XF/Admin/Controller/Index.php at line 10
Andy\AdminNotes\XF\Admin\Controller\Index->actionIndex() in src/addons/ThemeHouse/UIX/XF/Admin/Controller/Index.php at line 18
ThemeHouse\UIX\XF\Admin\Controller\Index->actionIndex() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 265
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
XF\App->run() in src/XF.php at line 806
XF::runApp() in admin.php at line 15

and I don't know what to do to make it work again :-(

I'm using a theme from @ThemeHouse and, as I've always been told, I've upgraded XF to upgrade the theme later.

Can someone help me?
 
Solution
I've got an error just after the upgrade about an addon so I've disabled it putting an underscore at the start of the addon name but maybe I've made a mistake. Is there any way to disable an addon without having admin access?
Add the following line to the end of your src/config.php file:
Code:
$config['enableListeners'] = false;

Also, use XF2.3 default theme. If everything is fine, then try to enable the addons one by one and then check if there is an update for the theme.

Good luck
edit

the most common situation that causes this is ...

an addon in the src/addons/ directory not having a addon.json file


---
(1) XF\Admin\Controller\IndexController->actionIndex() in src/addons/Andy/AdminNotes/XF/Admin/Controller/Index.php at line 10

disable this ?

(2) Anything here help ?
 
Last edited:
same as here

Shooting in the dark here, but is there any addon in the src/addons/ directory not having a addon.json file?
 
InvalidArgumentException: Must provide an existing add-on or add-on JSON in src/XF/AddOn/Manager.php at line 270

Thanks for the clue, I had a /src/addons/s9e/MediaSites folder that I replaced and labeled the old folder MediaSites_bu_04042023
When I removed the old folder (MediaSites_bu_04042023) my add-on panel came back up. :)
I figured out what was causing the issue.

I had a folder for tapatalk in the /src/addons folder that I had renamed to tapatalk_old and then uploaded the newest version of tapatalk. These folders were conflicting with one another. I removed the old folder and the error went away.
 
Same error as here

 
I've got an error just after the upgrade about an addon so I've disabled it putting an underscore at the start of the addon name but maybe I've made a mistake. Is there any way to disable an addon without having admin access?
 
This is the contento of my addon folder in src.Some of the addons are not active like Tapatalk for example

Code:
_Datio
Andy
DBTech
KL
lgxRemoteImageUploader
MrJinx
OzzModz
Roka
s9e
Snog
SyTryC
Tapatalk
ThemeHouse
X0815
XDinc
xenMade
xerolabs
XF
 
I've got an error just after the upgrade about an addon so I've disabled it putting an underscore at the start of the addon name but maybe I've made a mistake. Is there any way to disable an addon without having admin access?
Add the following line to the end of your src/config.php file:
Code:
$config['enableListeners'] = false;

Also, use XF2.3 default theme. If everything is fine, then try to enable the addons one by one and then check if there is an update for the theme.

Good luck
 
Solution
Do you have a backup of the database and files before the upgrade? Hopefully you do so restore those and all should be well.

Then check that all your addons and themes are compatible with 2.3 and if not wait until they are or disable them.
 
Unfortunately not. I trusted the upgrade and I shouldn't :-(

Tried also to disable the themehouse theme and restore the default one but the home page is messed up. I'll try to revert the page container page template
 
The default style is already loading as a guest visitor.

Just disable the themehouse style using the standard built in function.

As an administrator you will still have the themehouse style selected - update it for your profile in the ACP.
 
Back
Top Bottom