Topic-icon Javascript error JFBComments

Active Subscriptions:

None
10 years 1 day ago #43886 by missycarter
Javascipt error on page where comments is displaying.

Here is the code, does anyone know a remedy?

<script>function envFlush(a){function b(c){for(var d in a)c[d]=a[d];}if(window.requireLazy){window.requireLazy(,b);}else{Env=window.Env||{};b(Env);}}envFlush({"ajaxpipe_token":"AXilKrM4qlxbyMN-","lhsh":"wAQGRGtjH"});</script>
Thanks
The topic has been locked.
Active Subscriptions:

None
10 years 1 day ago #43887 by missycarter
Error Message:
Uncaught TypeError: Cannot read property 'handleServerJS' of undefined
The topic has been locked.
Support Specialist
10 years 1 day ago #43890 by alzander
That code, I'm assuming, is from what of Facebook's own Javascript files. It's definitely not from any code that we've generated. We can gladly help investigate further, but I'm not sure there's much we could do to fix that problem as it'd have to be reported to Facebook.

Can you let me know a page where we can see that error thrown on? That will help us investigate, but again, I wouldn't expect a solution from us.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 14 hours ago #43906 by missycarter
Go to winnr.net/facebook-comments.html

Have read that some of the errors displaying are due to funny characters that have gotten into the code by copying. (Not that I have touched this area myself, but by copying code from say, JSFiddles without "cleaning" in notepad++ can cause this issue)
As you would know this is beyond my scope, but am obliged to work my way through each error in any which way I can!
Thanks for the support
The topic has been locked.
Support Specialist
10 years 10 hours ago #43909 by alzander
I just went to that page in Chrome and couldn't see any Javascript errors. Can you tell me how you're testing?
* Are you logged into Facebook?
* Have you tried with multiple browsers?
* Do you have any add-ons in the browser your using? If you disable them, does the error go away?

Let me know what happens. From what I see though, things are working as expected.

Thanks,
Alex
The topic has been locked.