Notifications
Clear all

[Solved] JavaScript Error

8 Posts
2 Users
1 Reactions
947 Views
(@gutterboy)
Eminent Member
Joined: 6 years ago
Posts: 25
Topic starter  

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 5 years ago by gutterboy

   
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6149
 

Hi @gutterboy,

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


   
(@gutterboy)
Eminent Member
Joined: 6 years ago
Posts: 25
Topic starter  

Hi @Astghik and thanks for the prompt response.

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

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)
Eminent Member
Joined: 6 years ago
Posts: 25
Topic starter  

Excellent - thanks very much.


   
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6149
 
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)
Eminent Member
Joined: 6 years ago
Posts: 25
Topic starter  

Great - thanks.

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


   
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6149
 

@gutterboy

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


   
(@gutterboy)
Eminent Member
Joined: 6 years ago
Posts: 25
Topic starter  

Works great - thanks! 🙂


   
Astghik reacted
Share:
Scroll to top