Uncaught TypeError: Cannot read property 'split' of null


#1

Hi when I load game on OSX Chrome Version 40.0.2214.94 (64-bit) I get this error.

Console log:

ModuleLoader.coffee:84 lib
vendor/three
views/account/AccountSettingsView
views/play
ModuleLoader.coffee:85 loaded 4 files, 987 KB
CampaignView.coffee:69 Filling in a gap for reward levels 5452adea57e83800009730ee
CampaignView.coffee:69 Filling in a gap for reward levels 541875da4c16460000ab990f
CampaignView.coffee:69 Filling in a gap for reward levels 54527a6257e83800009730c7
CampaignView.coffee:69 Filling in a gap for reward levels 545287ef57e83800009730d5
CampaignView.coffee:69 Filling in a gap for reward levels 545ec477e7f60fd6c55760e9
CampaignView.coffee:69 Filling in a gap for reward items 53e2167653457600003e3eb3
v3:1 Mixed Content: The page at ‘https://checkout.stripe.com/v3’ was loaded over HTTPS, but requested an insecure image ‘http://codecombat.com/images/pages/base/logo_square_250.png’. This content should also be served over HTTPS.
campaign-view.jade:163 Uncaught TypeError: Cannot read property ‘split’ of null
51a79585ee207206390002a2.js:1 Posted 1 error to errorception.com


#2

Hmm, that’s strange; looks like it thinks your preferredLanguage is null. What spoken language have you selected?

I’m deploying a workaround shortly that should prevent it from throwing the error; should be live a bit later today.


#3

Hi

I did not had any language, it was empty at top of selection. Once I selected English(UK) it started to work.
I have had account for year or so, but I did not use it. Seems that it did not default to language.

Great site, been using this to teach my nephews coding!

KZ