Title: Errors with WordPress 5.5
Last modified: August 12, 2020

---

# Errors with WordPress 5.5

 *  Resolved [lschaeffer](https://wordpress.org/support/users/lschaeffer/)
 * (@lschaeffer)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/errors-with-wordpress-5-5/)
 * 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](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/errors-with-wordpress-5-5/#post-13246686)
 * 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.
    - [https://connections-pro.com/faqs/hide-php-warnings-notices/](https://connections-pro.com/faqs/hide-php-warnings-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.

 * ![](https://s.w.org/plugins/geopattern-icon/connections_2b7e99.svg)
 * [Connections Business Directory](https://wordpress.org/plugins/connections/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/connections/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/connections/)
 * [Active Topics](https://wordpress.org/support/plugin/connections/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/connections/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/connections/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/errors-with-wordpress-5-5/#post-13246686)
 * Status: resolved