Fatal error: Uncaught Error: Call to a member function add_rewrite_tag() on null in /home3/code/bundsauto/wp-includes/rewrite.php:176
Stack trace:
#0 /home3/code/bundsauto/wp-includes/class-wp-post-type.php(709): add_rewrite_tag('%wpcs_search_re...', '([^/]+)', 'wpcs_search_req...')
#1 /home3/code/bundsauto/wp-includes/post.php(1807): WP_Post_Type->add_rewrite_rules()
#2 /home3/code/bundsauto/wp-content/plugins/WPCarSync/classes/Vehicle/VehicleSearchRequest.php(646): register_post_type('wpcs_search_req...', Array)
#3 /home3/code/bundsauto/wp-content/plugins/WPCarSync/classes/Vehicle/VehicleSearchRequest.php(30): DXIM\VehicleSearchRequest->_register_post_type()
#4 /home3/code/bundsauto/wp-content/plugins/WPCarSync/classes/Vehicle/VehicleSearchRequest.php(21): DXIM\VehicleSearchRequest->__construct()
#5 /home3/code/bundsauto/wp-content/plugins/WPCarSync/classes/admin/Admin.php(569): DXIM\VehicleSearchRequest::getInstance()
#6 /home3/code/bundsauto/wp-content/plugins/WPCarSync/classes/admin/Admin.php(646): DXIM\Admin->_api('validateLicense')
#7 /home3/code/bundsauto/wp-content/plugins/WPCarSync/classes/admin/Admin.php(254): DXIM\Admin->_cl()
#8 /home3/code/bundsauto/wp-content/plugins/WPCarSync/classes/admin/Admin.php(45): DXIM\Admin->__construct()
#9 /home3/code/bundsauto/wp-content/plugins/WPCSElementor/WPCS_Elementor.php(104): DXIM\Admin::getInstance()
#10 /home3/code/bundsauto/wp-content/plugins/WPCSElementor/WPCS_Elementor.php(94): WPCS\WPCS_Elementor->__construct()
#11 /home3/code/bundsauto/wp-content/plugins/WPCSElementor/Plugin.php(24): WPCS\WPCS_Elementor::getInstance()
#12 /home3/code/bundsauto/wp-includes/class-wp-hook.php(324): WPCS\{closure}('')
#13 /home3/code/bundsauto/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#14 /home3/code/bundsauto/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#15 /home3/code/bundsauto/wp-settings.php(559): do_action('plugins_loaded')
#16 /home3/code/bundsauto/wp-config.php(104): require_once('/home3/code/bun...')
#17 /home3/code/bundsauto/wp-load.php(50): require_once('/home3/code/bun...')
#18 /home3/code/bundsauto/wp-blog-header.php(13): require_once('/home3/code/bun...')
#19 /home3/code/bundsauto/index.php(17): require('/home3/code/bun...')
#20 {main}
thrown in /home3/code/bundsauto/wp-includes/rewrite.php on line 176