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

Error caught when adding rating

12 Posts
2 Users
0 Reactions
2,610 Views
Posts: 7
Customer
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
(@caitlin-jeffery)
Member
Joined: 5 years ago
[#7807]

Hi there, 

When users add ratings via the wpDiscuz comment system, the following errors are being thrown:

An error of type E_ERROR was caused in line 787 of the file /var/www/html/wp-content/plugins/wpdiscuz-buddypress-integration/includes/wpDiscuzBPINotifications.php. Error message: Uncaught ArgumentCountError: Too few arguments to function wpDiscuzBPINotifications::bpNotifications(), 5 passed in /var/www/html/wp-includes/class-wp-hook.php on line 292 and exactly 8 expected in /var/www/html/wp-content/plugins/wpdiscuz-buddypress-integration/includes/wpDiscuzBPINotifications.php:787

 

The comment and rating shows up just fine, but the activity/notifications are not added to the Buddypress activity stream. 

Site: wackywriters.com

Example rating: https://wackywriters.com/books/eldalyn/test-title/#comment-12

Could you please advise how I should begin troubleshooting this? 

Thank you!


11 Replies
Astghik
Posts: 6645
Admin
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
(@astgh)
Illustrious Member
Joined: 8 years ago

@caitlin-jeffery,

Please let us know the versions of the wpDiscuz, BuddyPress and wpDiscuz - BuddyPress Integration plugins you're using. 


Reply
2 Replies
Customer
(@caitlin-jeffery)
Joined: 5 years ago

Member
Posts: 7
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

@astgh sure:

 

Buddypress: 8.0.0

wpDiscuz: 7.2.2

wpDiscuz BP add-on: 1.0.2


Reply
Astghik
Admin
(@astgh)
Joined: 8 years ago

Illustrious Member
Posts: 6645
Astghik
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

ok @caitlin-jeffery, thank you. 

Could you please deactivate all other plugins (keep activated only the wpDiscuz, BuddyPress and wpDiscuz - BuddyPress Integration) and check again? 


Reply
Posts: 7
Customer
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
(@caitlin-jeffery)
Member
Joined: 5 years ago

I did, and there was no change. I'll elaborate a bit more:

The comment part of a submitted rating will show in the activity/notifications for buddypress, but the rating itself will not. All notifications are only for comments.

The rating is appropriately added to the database and accessible from there, it just seems to be missing something to push through buddypress notifications and add to activity.


Reply
7 Replies
Customer
(@caitlin-jeffery)
Joined: 5 years ago

Member
Posts: 7
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

I should add that this is a rating for a custom post type, so perhaps that's related.


Reply
Astghik
Admin
(@astgh)
Joined: 8 years ago

Illustrious Member
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

@caitlin-jeffery,

The comment part of a submitted rating will show in the activity/notifications for buddypress, but the rating itself 

Here is all right. The Rates tab is only designed for showing only the article rating (Stand-alone Post Rating). Post Rating Based on Comment Rating Field are not being displayed in the Rates tab. 

Please clarify a bit. Do you still see the error message? 


Reply
Customer
(@caitlin-jeffery)
Joined: 5 years ago

Member
Posts: 7
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

@astgh

It hasn’t shown up again in the logs, but ratings are still not displayed in the rates tab. The tab says “no rates found”.


Reply
Astghik
Admin
(@astgh)
Joined: 8 years ago

Illustrious Member
Posts: 6645
Astghik
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

@caitlin-jeffery,

As I've already mentioned the Rates tab is only designed for showing only the article rating (Stand-alone Post Rating). Post Rating Based on Comment Rating Field are not being displayed in the Rates tab.


Reply
Customer
(@caitlin-jeffery)
Joined: 5 years ago

Member
Posts: 7
Astghik
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

@astgh

 

Oh I see what you're saying now. So ratings submitted via the comment form won't show up in Buddypress??


Reply
Customer
(@caitlin-jeffery)
Joined: 5 years ago

Member
Posts: 7
Astghik
Astghik
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

Like this image:

Screen Shot 2021 06 13 at 11.28.12 AM

The five stars included here won't show up in the ratings tab - am I understanding this correctly?


Reply
Astghik
Admin
(@astgh)
Joined: 8 years ago

Illustrious Member
Posts: 6645
Astghik
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

@caitlin-jeffery,

The five stars included here won't show up in the ratings tab - am I understanding this correctly?

Yes that's correct. 


Reply
Share:
Scroll to top