• Getting these notices:-

    Notice: register_rest_route was called incorrectly. The REST API route definition for post-views-counter/view-post 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/XXXXX/public_html/wp-includes/functions.php on line 5225
    
    Notice: register_rest_route was called incorrectly. The REST API route definition for post-views-counter/update-post-views 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/XXXX/public_html/wp-includes/functions.php on line 5225

    Please make the necessary code adjustments – thank you!

  • The topic ‘Required permission_callback argument is missing’ is closed to new replies.