undefined is not an object (evaluating 'this._sfs.debug')

Post here your questions about the HTML5 / JavaScript for SFS2X

Moderators: Lapo, Bax

aliko
Posts: 117
Joined: 09 Mar 2013, 16:26

undefined is not an object (evaluating 'this._sfs.debug')

Postby aliko » 21 Oct 2019, 05:31

Hello,

Sometimes sfs2x-api-1.7.14.js create this error. Can you look them please.
Best Regards



Code: Select all

undefined is not an object (evaluating 'this._sfs.debug')
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 6, col 149207 in value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 6, col 21546 in value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 7, col 85380 in value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 7, col 65733 in value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 7, col 94900 in value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 6, col 38061 in value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 7, col 20685 in value



Other one is like that

Code: Select all

Cannot read property 'debug' of undefined
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 6, col 149208 in e.value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 6, col 21538 in e.value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 7, col 85372 in e.value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 7, col 65729 in e.value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 7, col 94887 in t.value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 6, col 38057 in t.value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 7, col 20672 in WebSocket.value



Code: Select all

this._sfs is undefined
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 6, col 149187 in value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 6, col 21538 in value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 7, col 85372 in value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 7, col 65729 in value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 7, col 94887 in value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 6, col 38057 in value
https://www.backgammon65.com/js/sfs2x-api-1.7.14.js at line 7, col 20672 in value
User avatar
Bax
Site Admin
Posts: 4517
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: undefined is not an object (evaluating 'this._sfs.debug')

Postby Bax » 22 Oct 2019, 08:19

We believe this was already fixed in the latest API version you can download here: https://www.smartfoxserver.com/download/sfs2x#p=client
Please update your project and let us know in case the error occurs again.
Paolo Bax
The SmartFoxServer Team
aliko
Posts: 117
Joined: 09 Mar 2013, 16:26

Re: undefined is not an object (evaluating 'this._sfs.debug')

Postby aliko » 22 Oct 2019, 15:36

Thank you very much, sorry i missed this update.
I will inform you if any bug goes on.

Best Regards

Return to “SFS2X HTML5 / JavaScript API”

Who is online

Users browsing this forum: No registered users and 2 guests