[Solved] JavaScript Error  

  RSS

gutterboy
(@gutterboy)
Eminent Member
Joined: 1 year ago
Posts: 23
08/11/2019 5:17 pm  

We recently updated our settings (using the latest version) and am now getting a JS error in the console (and many now things that rely on JS don't work):

Uncaught ReferenceError: Cookies is not defined

This is in: wpdiscuz.js?ver=5.3.4:18

The line:

var wpdiscuzOrderData = Cookies.get(cookieCommentsSorting + "_" + wpdiscuzPostId);

Please advise.

Thank You!

This topic was modified 2 weeks ago by gutterboy

Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3457
08/11/2019 5:27 pm  

Hi @gutterboy,

are you using some extensions like Ublock Origin or something else? 


gutterboy
(@gutterboy)
Eminent Member
Joined: 1 year ago
Posts: 23
08/11/2019 5:34 pm  

Hi @Astghik and thanks for the prompt response.

Yep, I'm using uBlock Origin - I disabled it and it now works Smile

However, I have been using uBlock Origin for quite awhile now and hadn't had any issues up until now, which seems to tie in with the same period where we changed some settings in WPDiscuz.


gutterboy
(@gutterboy)
Eminent Member
Joined: 1 year ago
Posts: 23
08/11/2019 5:35 pm  

Excellent - thanks very much.


Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3457
08/11/2019 5:36 pm  
Posted by: @gutterboy

However, I have been using uBlock Origin for quite awhile now and hadn't had any issues up until now, which seems to tie in with the same period where we changed some settings in WPDiscuz.

plugin developers are checking the issue. Please wait a bit. We'll update the topic asap. 


gutterboy
(@gutterboy)
Eminent Member
Joined: 1 year ago
Posts: 23
08/11/2019 6:25 pm  

Great - thanks.

We also recently updated the plugin, so it may have to do with that as well.


Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3457
09/11/2019 3:55 pm  

@gutterboy

Please update the wpDiscuz plugin to the latest version (v. 5.3.5), delete all caches and check again. 


gutterboy
(@gutterboy)
Eminent Member
Joined: 1 year ago
Posts: 23
09/11/2019 4:20 pm  

Works great - thanks! Smile


Astghik liked
Share:
Green
Default
Pear
Black Emo
{green}:grinning:
{green}:wink:
{green}:face:
{green}:inlove:
{green}:sweaty:
{green}:surprised:
{green}:lovekiss:
{green}:laugh:
{green}:formalsmile:
{green}:displeased:
{green}:cool:
{green}:resent:
{green}:nerd:
{green}:screaming:
{green}:amazed:
{green}:sad:
{green}:deceitful:
{green}:starryeyes:
{green}:evil:
{green}:shocked:
{green}:tears:
{green}:sulky:
{green}:smile:
{green}:vomited:
{green}:hi:
{green}:afraid:
{green}:crazy:
{green}:rabid:
{green}:fighting:
{green}:nonoise:
{green}:blushed:
{green}:idontknow:
{green}:scared:
{green}:razz:
{green}:kiss:
{green}:eat:
{green}:shutmouth:
{green}:gape:
{green}:suspicious:
{green}:laughingoutloud:
{green}:bruise:
{green}:crying:
{green}:pray:
{green}:serious:
{green}:excitement:
:)
:d
:wink:
:mrgreen:
:neutral:
:twisted:
:arrow:
:shock:
:???:
:cool:
:evil:
:oops:
:razz:
:roll:
:cry:
:eek:
:lol:
:mad:
:sad:
:!:
:?:
:idea:
:hmm:
:beg:
:whew:
:chuckle:
:silly:
:envy:
:shutmouth:
{pear}:happy:
{pear}:smile:
{pear}:laugh:
{pear}:laughingoutloud:
{pear}:crying:
{pear}:exhausted:
{pear}:nerd:
{pear}:surprised:
{pear}:veryhungry:
{pear}:wink:
{blackemo}:laughtertotears:
{blackemo}:gift:
{blackemo}:love:
{blackemo}:inlove:
{blackemo}:shamefaced:
{blackemo}:heart:
{blackemo}:crazy:
{blackemo}:anguished:
{blackemo}:bruise:
{blackemo}:easymoney:
{blackemo}:exhausted:
{blackemo}:vampire:
{blackemo}:shutmouth:
{blackemo}:wink:
{blackemo}:carnival:
{blackemo}:flowers:
{blackemo}:hotdrink:
{blackemo}:party: