Fatal error: Uncaught Error: Call to undefined function get_metadata() in /home/nzstudyconnect/public_html/wp-includes/user.php:1171 Stack trace: #0 /home/nzstudyconnect/public_html/wp-includes/class-wp-user.php(324): get_user_meta(0, 'locale', true) #1 /home/nzstudyconnect/public_html/wp-includes/l10n.php(109): WP_User->__get('locale') #2 /home/nzstudyconnect/public_html/wp-includes/script-loader.php(141): get_user_locale() #3 /home/nzstudyconnect/public_html/wp-includes/script-loader.php(627): wp_default_packages_vendor(Object(WP_Scripts)) #4 /home/nzstudyconnect/public_html/wp-includes/class-wp-hook.php(308): wp_default_packages(Object(WP_Scripts)) #5 /home/nzstudyconnect/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #6 /home/nzstudyconnect/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #7 /home/nzstudyconnect/public_html/wp-includes/class-wp-scripts.php(167): do_action_ref_array('wp_default_scri...', Array) #8 /home/nzstudyconnect/public_html/wp-includes/class-wp-scripts.php(142): WP_Scripts->init() #9 /home/nzstudyconnect/public_html/wp-includes/functions.wp-scripts.php(24): WP_Scripts->__construct() #10 /home/nzstudyconnect/public_html/wp-includes/functions.wp-scripts.php(147): wp_scripts() #11 /home/nzstudyconnect/public_html/wp-includes/widgets/class-wp-widget-text.php(59): wp_add_inline_script('text-widgets', 'wp.textWidgets....') #12 /home/nzstudyconnect/public_html/wp-includes/class-wp-widget.php(275): WP_Widget_Text->_register_one() #13 /home/nzstudyconnect/public_html/wp-includes/class-wp-widget-factory.php(103): WP_Widget->_register() #14 /home/nzstudyconnect/public_html/wp-includes/class-wp-hook.php(308): WP_Widget_Factory->_register_widgets('') #15 /home/nzstudyconnect/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #16 /home/nzstudyconnect/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #17 /home/nzstudyconnect/public_html/wp-includes/widgets.php(1854): do_action('widgets_init') #18 /home/nzstudyconnect/public_html/wp-includes/class-wp-hook.php(308): wp_widgets_init('') #19 /home/nzstudyconnect/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #20 /home/nzstudyconnect/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #21 /home/nzstudyconnect/public_html/wp-settings.php(623): do_action('init') #22 /home/nzstudyconnect/public_html/wp-config.php(98): require_once('/home/nzstudyco...') #23 /home/nzstudyconnect/public_html/wp-load.php(50): require_once('/home/nzstudyco...') #24 /home/nzstudyconnect/public_html/wp-blog-header.php(13): require_once('/home/nzstudyco...') #25 /home/nzstudyconnect/public_html/index.php(17): require('/home/nzstudyco...') #26 {main} thrown in /home/nzstudyconnect/public_html/wp-includes/user.php on line 1171