Fatal error: Uncaught Error: Call to undefined method WP::add_query_var() in /srv/users/abbeywinery/apps/abbeywinery/public/wp-includes/rest-api.php:130 Stack trace: #0 /srv/users/abbeywinery/apps/abbeywinery/public/wp-includes/class-wp-hook.php(286): rest_api_init('') #1 /srv/users/abbeywinery/apps/abbeywinery/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /srv/users/abbeywinery/apps/abbeywinery/public/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /srv/users/abbeywinery/apps/abbeywinery/public/wp-settings.php(450): do_action('init') #4 /srv/users/abbeywinery/apps/abbeywinery/public/wp-config.php(103): require_once('/srv/users/abbe...') #5 /srv/users/abbeywinery/apps/abbeywinery/public/wp-load.php(37): require_once('/srv/users/abbe...') #6 /srv/users/abbeywinery/apps/abbeywinery/public/wp-blog-header.php(13): require_once('/srv/users/abbe...') #7 /srv/users/abbeywinery/apps/abbeywinery/public/index.php(17): require('/srv/users/abbe...') #8 {main} thrown in /srv/users/abbeywinery/apps/abbeywinery/public/wp-includes/rest-api.php on line 130