Notifications
Clear all

Problem with wpDiscuz plugin

8 Posts
4 Users
0 Likes
7,622 Views
 Vlad
(@vlad)
New Member
Joined: 6 years ago
Posts: 3
Topic starter  

Hello, i am running into a problem when i want to use the wpDiscuz plugin. After i activated it and wanted to test it i saw that the comment system is not working. Investigating further to see what is wrong, i noticed that in the console i have two js errors and i don't know exactly how to solve this. The errors:

Uncaught TypeError: $(...).on is not a function at lity.js?ver=5.1.2:635 at lity.js?ver=5.1.2:12 at lity.js?ver=5.1.2:14 lity.js?ver=5.1.2:635

Uncaught TypeError: $(...).delegate is not a function at HTMLDocument. (wpdiscuz.js?ver=5.1.2:56) at Function.ready (jquery.min.js?ver=4.9.6:26) at HTMLDocument.L (jquery.min.js?ver=4.9.6:33) wpdiscuz.js?ver=5.1.2:56

If you could help me with this, it would be greatly appreciated.

Thank you and have a great day.


   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5911
 

Hi Vlad,

Could you please leave your website URL to allow to check it. 

Also, please keep wpDiscuz activated. 


   
ReplyQuote
 Vlad
(@vlad)
New Member
Joined: 6 years ago
Posts: 3
Topic starter  

https://www.smartbill.ro/blog/


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5911
 

Dear @vlad,

Your theme loads jQuery from ajax.googleapis.com (not from WordPress), The version is old (v. 1.4.1). You need to update the jQuery library. 

tb3XM4n

   
ReplyQuote
 Vlad
(@vlad)
New Member
Joined: 6 years ago
Posts: 3
Topic starter  

@astghik

I've updated yesterday the jquery with version 3 and 2 to see if it's working and it still doesnt't work, i can change it with v3 now and you can have a look if you want it.


   
ReplyQuote
 Tom
(@tomson)
Famed Member Admin
Joined: 9 years ago
Posts: 4172
 

You should not update it. You should remove it. WordPress has it's own jQuery lib, it already loads the built-in jQuey lib. if you add another jQuery lib, you duplicate it and create lots of JS errors and conflict.


   
ReplyQuote
 Tom
(@tomson)
Famed Member Admin
Joined: 9 years ago
Posts: 4172
 

For some reason the default jQuey is not loaded by WordPress. Some plugin or the theme disabled it and made tons of problems for you. You had too add new libs in header. i see two jQuery libs (screenshots attached). You should do either remove both, disable all plugins change the theme to find the problem maker (who disables WP jQuery) or just remove one of these libs. But the first one will be 100% correct solution.

2018 06 10 1036
2018 06 10 1037

The built-in WordPress jQuery looks like this, I didn't find it on your website:

2018 06 10 1041

   
ReplyQuote
(@karthikeyan)
New Member
Joined: 5 years ago
Posts: 1
 

hi,

Some time "wpdiscuz-ajax.php" not run for Comment Live update.


   
ReplyQuote
Share:
Scroll to top