wpDiscuz - WordPress Comment Plugin
Share:
Notifications
Clear all

[Solved] API call is missing a required argument  


yeshuaislord
Posts: 5
Topic starter
(@yeshuaislord)
Active Member
Joined: 7 months ago

Hi,

Something goes wrong with the WPDiscuz plugin. I tried to deactivate and reactivate the plugin and flushed the cache. But as soon as I activate the plugin I get the following message in the WP_DEBUG_LOG:

[25-Nov-2020 09:07:24 UTC] PHP Notice: register_rest_route was called incorrectly. The REST API route definition for wpdiscuz/v1/update is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /home/lean9310/public_html/yeshua.academy/wp-includes/functions.php on line 5229

How can I fix this? I am running WP 5.5.3 and PHP 7.3

Thannks

Topic Tags
2 Replies
Asti
Posts: 1940
 Asti
Support
(@asti)
Support member
Joined: 3 years ago

Hi @yeshuaislord,

Thank you for letting us know.

We will fix the issue in the next version (no ETA).

1 Reply
yeshuaislord
(@yeshuaislord)
Joined: 7 months ago

Active Member
Posts: 5

@asti OK Thank you

Share: