[Solved] API call is missing a required argument
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
Thank you for letting us know.
We will fix the issue in the next version (no ETA).