MyBB 1.9 Demo
Undefined lang variable - Printable Version

+- MyBB 1.9 Demo (https://mybb.jsoltesz.com/mybb-1.9)
+-- Forum: 1.9 Issues (https://mybb.jsoltesz.com/mybb-1.9/forum-15.html)
+--- Forum: Issues (https://mybb.jsoltesz.com/mybb-1.9/forum-16.html)
+--- Thread: Undefined lang variable (/thread-70.html)



Undefined lang variable - effone - 12-03-2018

I can see some unexpected changes in general.js included in this site. That leads to undefined lang variable

[Image: Untitled-1.png]

Our main 'general.js' (in 1.8) has a blank object container defined which is not present in the 'general.js' included in this site:

PHP Code:
/* Lang this! */
var lang = {

}; 

And again, I'd like to mention all the jquery dependent scripts are required to be included after inclusion of jQuery library in page. This is leading to many js failure:

[Image: Untitled-1.png]


RE: Undefined lang variable - Justin - 02-04-2019

I believe this has been resolved; can you confirm?