Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

Problem with wpDiscuz plugin

8 Posts
4 Users
0 Reactions
11.4 K Views
 Vlad
(@vlad)
New Member
Joined: 8 years ago
Posts: 3
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
  [#2504]

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: 8 years ago
Posts: 6645
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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: 8 years ago
Posts: 3
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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



   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6645
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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: 8 years ago
Posts: 3
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

@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: 11 years ago
Posts: 4245
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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: 11 years ago
Posts: 4245
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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: 7 years ago
Posts: 1
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

hi,

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



   
ReplyQuote
Share:
Scroll to top