Support » Plugin: Edwiser Bridge - WordPress Moodle LMS Integration » register_rest_route was called incorrectly

  • Resolved dodgepong

    (@dodgepong)


    I am using Edwiser Bridge 1.4.7, and have been seeing the following error in my PHP error logs:

    PHP Notice: register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>edwiser-bridge/wisdmlabs</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /app/public_html/wp-includes/functions.php on line 5225

    I am on WordPress 5.5.1 and PHP 7.2. The stack trace suggests the offending line is line 29 of wp-content/plugins/edwiser-bridge/includes/api/class-eb-external-api.php.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WisdmLabs

    (@wisdmlabs)

    Hello @dodgepong,

    Greetings!

    Thank you for bringing this to our attention, we are working on this and our upcoming update will have this error fixed. For time being we can share a QFE update with you latest by early next week. Could you plesae share your email id or drop an email on edwiser@wisdmlabs.com for us to share the file?

    Thank you
    Dharmesh Barot
    TeamEdwiser

    Plugin Author WisdmLabs

    (@wisdmlabs)

    Hello @dodgepong,

    Greetings!

    This is to inform you that we have fixed the error. We have released a new update on WordPress, please go ahead and update the plugin.

    Thank you once again for bringing this to our attention.

    Regards,
    Dharmesh Barot
    TeamEdwiser

    Thread Starter dodgepong

    (@dodgepong)

    Thanks, but unfortunately I am still getting the same error on 1.4.8.

    Plugin Author WisdmLabs

    (@wisdmlabs)

    Hello @dodgepong,

    Greetings!

    Kindly update the plugin to 1.4.9 and please confirm if you encounter the same issue.

    Thanks!
    Dharmesh Barot
    TeamEdwiser

    • This reply was modified 8 months, 2 weeks ago by WisdmLabs.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘register_rest_route was called incorrectly’ is closed to new replies.