Notice: Function register_rest_route was called incorrectly. REST API routes must be registered on the rest_api_init action. Instead route '/exports/events.jsonl' with namespace 'tcbon/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 /home2/jhzmaqmy/public_html/wp-includes/functions.php on line 6131
Fatal error: Uncaught Error: Call to a member function using_index_permalinks() on null in /home2/jhzmaqmy/public_html/wp-includes/rest-api.php:516
Stack trace:
#0 /home2/jhzmaqmy/public_html/wp-includes/rest-api.php(579): get_rest_url(NULL, '/wp/v2/posts/{i...', 'rest')
#1 /home2/jhzmaqmy/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2789): rest_url('wp/v2/posts/{id...')
#2 /home2/jhzmaqmy/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2734): WP_REST_Posts_Controller->get_schema_links()
#3 /home2/jhzmaqmy/public_html/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(388): WP_REST_Posts_Controller->get_item_schema()
#4 /home2/jhzmaqmy/public_html/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(343): WP_REST_Controller->get_context_param()
#5 /home2/jhzmaqmy/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2916): WP_REST_Controller->get_collection_params()
#6 /home2/jhzmaqmy/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(83): WP_REST_Posts_Controller->get_collection_params()
#7 /home2/jhzmaqmy/public_html/wp-includes/rest-api.php(274): WP_REST_Posts_Controller->register_routes()
#8 /home2/jhzmaqmy/public_html/wp-includes/class-wp-hook.php(341): create_initial_rest_routes(Object(WP_REST_Server))
#9 /home2/jhzmaqmy/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
#10 /home2/jhzmaqmy/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#11 /home2/jhzmaqmy/public_html/wp-includes/rest-api.php(636): do_action('rest_api_init', Object(WP_REST_Server))
#12 /home2/jhzmaqmy/public_html/wp-includes/rest-api.php(154): rest_get_server()
#13 /home2/jhzmaqmy/public_html/wp-content/plugins/tcbon-dns-network/includes/rest.php(5): register_rest_route('tcbon/v1', '/exports/events...', Array)
#14 /home2/jhzmaqmy/public_html/wp-content/plugins/tcbon-dns-network/tcbon-dns-network.php(27): tcbon_dnsn_register_rest()
#15 /home2/jhzmaqmy/public_html/wp-includes/class-wp-hook.php(341): {closure}('')
#16 /home2/jhzmaqmy/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
#17 /home2/jhzmaqmy/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#18 /home2/jhzmaqmy/public_html/wp-settings.php(593): do_action('plugins_loaded')
#19 /home2/jhzmaqmy/public_html/wp-config.php(118): require_once('/home2/jhzmaqmy...')
#20 /home2/jhzmaqmy/public_html/wp-load.php(50): require_once('/home2/jhzmaqmy...')
#21 /home2/jhzmaqmy/public_html/wp-blog-header.php(13): require_once('/home2/jhzmaqmy...')
#22 /home2/jhzmaqmy/public_html/index.php(17): require('/home2/jhzmaqmy...')
#23 {main}
thrown in /home2/jhzmaqmy/public_html/wp-includes/rest-api.php on line 516