Cannot reproduce Undefined index: defaultLanguageId

Affected version
2.0.0 RC 1

Chris D

XenForo developer
Staff member
Unfortunately our position hasn’t really changed. The error is totally unexpected and shouldn’t happen. See Mike’s post above.


Well-known member
Hi @Chris D .. I understand what you are saying, but unfortunately, I am receiving this error quite regularly (5-10 times each day). So, while trying to reproduce it myself (I couldn't so far), I noticed that ["url"] portion of the Request state is common each time, though the ["referrer"] are different each time.

Is it possible that the error is related to the Chat addon? I don't find any trace of the addon in Stack trace though.

Request state
array(4) {
["url"] => string(22) "/index.php?chat/update"
["referrer"] => string(115) ""


Well-known member
Just for an update, I used to receive this error 5-10 time each day. However, since I updated to XF 2.0.2, haven't received this error a single time.