Fatal error: Uncaught Error: Call to a member function using_index_permalinks() on null in /home/camps-odyssee/website/shared/wordpress/wp-includes/rest-api.php:313 Stack trace: #0 /home/camps-odyssee/website/shared/wordpress/wp-includes/rest-api.php(705): get_rest_url() #1 /home/camps-odyssee/website/shared/wordpress/wp-includes/class-wp-hook.php(284): rest_output_link_wp_head() #2 /home/camps-odyssee/website/shared/wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(Array, Array) #3 /home/camps-odyssee/website/shared/wordpress/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /home/camps-odyssee/website/shared/wordpress/wp-includes/general-template.php(2614): do_action('wp_head') #5 /home/camps-odyssee/website/shared/wordpress/wp-includes/theme-compat/header.php(46): wp_head() #6 /home/camps-odyssee/website/shared/wordpress/wp-includes/template.php(688): require_once('/home/camps-ody...') #7 /home/camps-odyssee/website/shared/wordpress/wp-includes/template.php(647): load_template('/home/camps-od in /home/camps-odyssee/website/shared/wordpress/wp-includes/rest-api.php on line 313