• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 An unexpected error occurred. Please try again later.

#1
Not sure what is going on but I can not get to my admincp. When ever I click on Admin I get a message of "An unexpected error occurred. Please try again later."

It was working fine before, and the rest of the site is working fine. No changes were made today so not sure why its doing this.

How do I figure out what the error is?
 

Mike

XenForo developer
Staff member
#2
Is this still happening?

If so, the likelihood is that it's an add-on. You can add this to your library/config.php:
Code:
$config['enableListeners'] = false;
Can you get into your control panel then? From there, you should be able to see the error log details which will hopefully direct you. You can then either disable the add-ons in the control panel or take other steps to fix the error.

You should then remove that line.
 
#3
Hi Mike,

Thanks, and that is how I fixed it. Seems like the caching got screwed up somehow and by turning the add on - off and then on again fixed it.