Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
After February 6, this site will no longer have Facebook, Twitter, or OpenID sign-in options. Read our announcement about social media SSO support in 2.8 for more info.

Make sure you have a current, valid email address set in your profile and set a password so you can login without it. If you get locked out after that time, you can choose "Forgot Password" to fix it as long as a valid email is on your account.

Error after upgrading to 2.6.4

This discussion was created from comments split from: Security update: Vanilla 2.6.4.


  • Hi. I've updated to version 2.6.4.

    Do you know when I can't access "forum/dashboard/settings/themes" anymore ?

    I am getting an error : "Something has gone wrong.
    We've run into a problem and are unable to handle this request right now.
    Please check back in a little while."


  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    "Something has gone wrong" is only a nice placeholder for an ugly error message. You should temporarily add $Configuration['Debug'] = true; to your /conf/config.php

  • Thanks for your answer @R_J

    This is the error I got:

    </p> <p>Fatal Error in Vanilla\AddonManager.lookupAllByType();</p> <p>Call to a member function getKey() on null</p> <p>The error occurred on or near: /path/forum/library/Vanilla/AddonManager.php</p> <p>294: $addons = [];<br /> 295: foreach ($index as $addonDirName => $addonDirPath) {<br /> 296: try {<br /> 297: $addon = $this->lookupSingleCachedAddon($addonDirName, $type);<br /> 298: $addons[$addon->getKey()] = $addon;<br /> 299: } catch (\Exception $ex) {<br /> 300: trigger_error("The $type in $addonDirPath is invalid and will be skipped.", E_USER_WARNING);<br /> 301: // Clear the addon out of the index.<br /> 302: $this->deleteSingleIndexKey($type, $addonDirName);</p> <p>Backtrace:</p> <p>[/path/forum/library/core/class.thememanager.php:86] Vanilla\AddonManager->lookupAllByType();<br /> [/path/forum/applications/dashboard/controllers/class.settingscontroller.php:1831] Gdn_ThemeManager->availableThemes();<br /> [/path/forum/library/core/class.dispatcher.php:845] SettingsController->themes();<br /> [/path/forum/library/core/class.dispatcher.php:274] Gdn_Dispatcher->dispatchController();<br /> [/path/forum/index.php:29] Gdn_Dispatcher->dispatch();</p> <p>

  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    Sounds as if you have a corrupt theme. Do you have any custom theme in the /themes folder?

    But maybe it is already solved by deleting /cache/theme-index.php and /cache/theme/*

  • Thanks, It worked!

    I've delete all my themes, re-uploaded the vanilla ones, and delete the two files above it worked!

Sign In or Register to comment.