Fatal error: Uncaught Error: Call to undefined function _deprecated_class() in /home/senolkaan/public_html/wp-content/plugins/buddypress/bp-core/classes/class-bp-rest-components-endpoint.php:24 Stack trace: #0 /home/senolkaan/public_html/wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php(1432): BP_REST_Components_Endpoint->__construct() #1 /home/senolkaan/public_html/wp-content/plugins/buddypress/bp-core/classes/class-bp-core.php(446): BP_Component->rest_api_init(Array) #2 /home/senolkaan/public_html/wp-includes/class-wp-hook.php(308): BP_Core->rest_api_init(Array) #3 /home/senolkaan/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #4 /home/senolkaan/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /home/senolkaan/public_html/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(306): do_action('bp_rest_api_ini...') #6 /home/senolkaan/public_html/wp-includes/class-wp-hook.php(308): bp_rest_api_init(Object(WP_REST_Server)) #7 /home/senolkaan/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #8 /home/senolkaan/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /home/senolkaan/public_html/wp-includes/rest-api.php(577): do_action('rest_api_init', Object(WP_REST_Server)) #10 /home/senolkaan/public_html/wp-includes/rest-api.php(403): rest_get_server() #11 /home/senolkaan/public_html/wp-includes/class-wp-hook.php(308): rest_api_loaded(Object(WP)) #12 /home/senolkaan/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #13 /home/senolkaan/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #14 /home/senolkaan/public_html/wp-includes/class-wp.php(399): do_action_ref_array('parse_request', Array) #15 /home/senolkaan/public_html/wp-includes/class-wp.php(780): WP->parse_request('') #16 /home/senolkaan/public_html/wp-includes/functions.php(1334): WP->main('') #17 /home/senolkaan/public_html/wp-blog-header.php(16): wp() #18 /home/senolkaan/public_html/index.php(17): require('/home/senolkaan...') #19 {main} thrown in /home/senolkaan/public_html/wp-content/plugins/buddypress/bp-core/classes/class-bp-rest-components-endpoint.php on line 24