Function register_rest_route was called incorrectly

Home Forums Legacy Support Support queries Function register_rest_route was called incorrectly

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #390432
    medtech
    Participant

    I get this errors everytime visit the admin page :


    Function register_rest_route was called incorrectly. The REST API route definition for wplms/v2/Course is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. (This message was added in version 5.5.0.)+

    1. register_rest_route()

    Plugin: wplms_pluginFunction register_rest_route was called incorrectly. The REST API route definition for wplms/v2/Course/free_units is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. (This message was added in version 5.5.0.)+

    1. register_rest_route()

    Plugin: wplms_pluginFunction register_rest_route was called incorrectly. The REST API route definition for wplms/v2/Course/free-unit/(?Pd+)? is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. (This message was added in version 5.5.0.)

    #390435
    Anshuman Sahu
    Keymaster

    hi these are just notices not fatal error however we will sove this in upcoming updates of wplms and vibebp plugins . please turn off wp_debug in wp config.php : https://codex.wordpress.org/WP_DEBUG

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.