• Resolved lschaeffer

    (@lschaeffer)


    When I go to add/edit a post I’m getting the following errors. These started after updating WordPress to version 5.5. These errors disappear if I disable the Connections plugin.

    Notice: register_rest_route was called incorrectly. The REST API route definition for cn-api/v1/countries 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 /wp-includes/functions.php on line 5225

    Notice: register_rest_route was called incorrectly. The REST API route definition for cn-api/v1/countries/(?P[a-z]{2,2}) 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 /wp-includes/functions.php on line 5225

    Notice: register_rest_route was called incorrectly. The REST API route definition for cn-api/v1/countries/(?P[a-z]{2,2})/geojson 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 /wp-includes/functions.php on line 5225

    Notice: register_rest_route was called incorrectly. The REST API route definition for cn-api/v1/countries/(?P[a-z]{2,2})/regions 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 /wp-includes/functions.php on line 5225

    Notice: register_rest_route was called incorrectly. The REST API route definition for cn-api/v1/countries/(?P[a-z]{2,2})/region/(?P[0-9a-zA-Z]+) 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 /wp-includes/functions.php on line 5225

    Notice: register_rest_route was called incorrectly. The REST API route definition for cn-api/v1/autocomplete/(?Pname|last_name|title|organization|department|district|county|city|state|zipcode|country) 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 /wp-includes/functions.php on line 5225

Viewing 1 replies (of 1 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    Apologies for the trouble!!!

    I just noticed these today too.

    I already have corrected the reason WP would generate these notices and will issue an update soon.

    That said, these are developer notices and it is a best practice to have these disabled on a live site.

    Here’s a link to a tutorial that explains how to disable these notices.

    I hope this helps, let me know.

Viewing 1 replies (of 1 total)

The topic ‘Errors with WordPress 5.5’ is closed to new replies.