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

XF 1.5 Change Text - An unexpected error occurred. Please try again later.

Wesker

Well-known member
#1
When a site overloads or is doing backups we are getting this error

An unexpected error occurred. Please try again later.

How do we change the default text so it says something else built into xenforo
 

Wesker

Well-known member
#2
It's not this phrase as this is something else for reference

/admin.php?phrases/server_error_occurred.38163/

A server error occurred. Please try again later.
 

Wesker

Well-known member
#3
Nor is it this phrase
/admin.php?phrases/unexpected_database_error_occurred.42679/
An unexpected database error occurred. Please try again later.
 

Wesker

Well-known member
#4
/admin.php?phrases/unexpected_error_occurred.38162/

or this one

An unexpected error occurred. Please try again later.
 

Mike

XenForo developer
Staff member
#6
Strictly speaking, the fix would be to fix the issue that causes this in the first place.

If changing the phrases doesn't sort it, that very likely means there's no database connection available to get the phrase, so the text comes from the files.