Notice: Function register_rest_route was called incorrectly. REST API routes must be registered on the rest_api_init action. Instead route '/client/geofence-events' with namespace 'rlt/v1' was not registered on this action. Please see Debugging in WordPress for more information. (This message was added in version 5.1.0.) in /home/realloca/public_html/wp-includes/functions.php on line 6114

Fatal error: Uncaught Error: Call to a member function using_index_permalinks() on null in /home/realloca/public_html/wp-includes/rest-api.php:498 Stack trace: #0 /home/realloca/public_html/wp-includes/rest-api.php(561): get_rest_url(NULL, '/wp/v2/posts/{i...', 'rest') #1 /home/realloca/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2756): rest_url('wp/v2/posts/{id...') #2 /home/realloca/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2701): WP_REST_Posts_Controller->get_schema_links() #3 /home/realloca/public_html/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(388): WP_REST_Posts_Controller->get_item_schema() #4 /home/realloca/public_html/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(343): WP_REST_Controller->get_context_param() #5 /home/realloca/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2883): WP_REST_Controller->get_collection_params() #6 /home/realloca/public_html/wp-includes/rest-api/endpoints/c in /home/realloca/public_html/wp-includes/rest-api.php on line 498