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.
Hi Vlad,
Could you please leave your website URL to allow to check it.
Also, please keep wpDiscuz activated.
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.
@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.
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.
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.
The built-in WordPress jQuery looks like this, I didn't find it on your website:
hi,
Some time "wpdiscuz-ajax.php" not run for Comment Live update.