Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    we are one the Version 6.2.0 and also get this error now.

    register_rest_route was called incorrectly. The REST API route definition for mec/v1/events 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.) 1

    wp-includes/functions.php:5663
        register_rest_route()
        wp-content/plugins/modern-events-calendar/app/skins/general_calendar.php:44
        MEC_skin_general_calendar->mec_general_calendar_get_events_api()
        wp-includes/class-wp-hook.php:303
        do_action('rest_api_init')
        wp-includes/rest-api.php:537
        rest_get_server()
        wp-includes/rest-api.php:495
        rest_do_request()
        wp-includes/block-patterns.php:74
        _load_remote_block_patterns()
        wp-includes/class-wp-hook.php:303
        do_action('current_screen')
        wp-admin/includes/class-wp-screen.php:421
        WP_Screen->set_current_screen()
        wp-admin/includes/screen.php:243
        set_current_screen()
        wp-admin/admin.php:212

    Best Regards

    Thread Starter misterraiden

    (@misterraiden)

    Hello ,

    Tanks you so much! I am sorry but I was in vacation.

    I have installed the Plugin Query Monitor and you are right. I receive an error
    “Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini.”
    I don’t have the permission to modify these php files. I must contact my hosting provider.
    I think that will solve the Problem. I will definitely post here an update when the problem is resolved.

    Have a great Day

Viewing 2 replies - 1 through 2 (of 2 total)