Notice: Function register_rest_route was called incorrectly. REST API routes must be registered on the rest_api_init action. Instead route '/top-drivers' with namespace 'hm-vtlog/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 /var/www/html/wp-includes/functions.php on line 6170
Notice: Function register_rest_route was called incorrectly. The REST API route definition for hm-vtlog/v1/top-drivers 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 /var/www/html/wp-includes/functions.php on line 6170
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the akismet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6170
Notice: Function register_rest_route was called incorrectly. The REST API route definition for hm-vtlog/v1/telemetry 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 /var/www/html/wp-includes/functions.php on line 6170
Notice: Function register_rest_route was called incorrectly. The REST API route definition for hm-vtlog/v1/online-drivers 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 /var/www/html/wp-includes/functions.php on line 6170
Fatal error: Uncaught Error: Call to a member function using_index_permalinks() on null in /var/www/html/wp-includes/rest-api.php:520
Stack trace:
#0 /var/www/html/wp-includes/rest-api.php(583): get_rest_url()
#1 /var/www/html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2852): rest_url()
#2 /var/www/html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2797): WP_REST_Posts_Controller->get_schema_links()
#3 /var/www/html/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(388): WP_REST_Posts_Controller->get_item_schema()
#4 /var/www/html/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(343): WP_REST_Controller->get_context_param()
#5 /var/www/html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2979): WP_REST_Controller->get_collection_params()
#6 /var/www/html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(83): WP_REST_Posts_Controller->get_collection_params()
#7 /var/www/html/wp-includes/rest-api.php(274): WP_REST_Posts_Controller->register_routes()
#8 /var/www/html/wp-includes/class-wp-hook.php(341): create_initial_rest_routes()
#9 /var/www/html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#10 /var/www/html/wp-includes/plugin.php(522): WP_Hook->do_action()
#11 /var/www/html/wp-includes/rest-api.php(640): do_action()
#12 /var/www/html/wp-includes/rest-api.php(154): rest_get_server()
#13 /var/www/html/wp-content/plugins/ets2-vtc-manager/includes/api.php(89): register_rest_route()
#14 /var/www/html/wp-content/plugins/ets2-vtc-manager/ets2-vtc-manager.php(14): require_once('...')
#15 /var/www/html/wp-settings.php(589): include_once('...')
#16 /var/www/html/wp-config.php(107): require_once('...')
#17 /var/www/html/wp-load.php(50): require_once('...')
#18 /var/www/html/wp-blog-header.php(13): require_once('...')
#19 /var/www/html/index.php(17): require('...')
#20 {main}
thrown in /var/www/html/wp-includes/rest-api.php on line 520