• Resolved SocialSparkMedia

    (@socialsparkmedia)


    Getting this error when I activate the plugin. I was using it on a staging site without problems, now I’ve launched it live and getting this error:

    Notice: register_rest_route was called incorrectly. The REST API route definition for age-gate/v1/shortcode 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 /www/wp-includes/functions.php on line 5313

    Help!

Viewing 1 replies (of 1 total)
  • Thread Starter SocialSparkMedia

    (@socialsparkmedia)

    It appears this is a conflict with Google’s Site Kit. I will deactivate and use code instead. But it would be nice to be able to use that.

Viewing 1 replies (of 1 total)
  • The topic ‘REST API error’ is closed to new replies.