Fatal error: Uncaught TypeError: Argument 2 passed to WPML_SEO_HeadLangs::__construct() must be an instance of WPML_Queried_Object_Factory, none given, called in /home/nc028900/www_root/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 4290 and defined in /home/nc028900/www_root/wp-content/plugins/sitepress-multilingual-cms/classes/seo/class-wpml-seo-headlangs.php:16 Stack trace: #0 /home/nc028900/www_root/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(4290): WPML_SEO_HeadLangs->__construct(Object(SitePress)) #1 /home/nc028900/www_root/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(230): SitePress->handle_head_hreflang() #2 /home/nc028900/www_root/wp-content/plugins/sitepress-multilingual-cms/sitepress.php(149): SitePress->__construct() #3 /home/nc028900/www_root/wp-settings.php(388): include_once('/home/nc028900/...') #4 /home/nc028900/www_root/wp-config.php(87): require_once('/home/nc028900/...') #5 /home/nc028900/www_root/wp-load.php(37): require_once('/home in /home/nc028900/www_root/wp-content/plugins/sitepress-multilingual-cms/classes/seo/class-wpml-seo-headlangs.php on line 16

Fatal error: Uncaught Error: Call to a member function get_requested_lang() on null in /home/nc028900/www_root/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php:1062 Stack trace: #0 /home/nc028900/www_root/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/class-wpml-locale.php(106): SitePress->get_current_language() #1 /home/nc028900/www_root/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(3175): WPML_Locale->locale() #2 /home/nc028900/www_root/wp-includes/class-wp-hook.php(287): SitePress->locale_filter('sk_SK') #3 /home/nc028900/www_root/wp-includes/plugin.php(212): WP_Hook->apply_filters('sk_SK', Array) #4 /home/nc028900/www_root/wp-includes/l10n.php(80): apply_filters('locale', 'sk_SK') #5 /home/nc028900/www_root/wp-includes/l10n.php(137): get_locale() #6 /home/nc028900/www_root/wp-includes/l10n.php(828): determine_locale() #7 /home/nc028900/www_root/wp-includes/class-wp-fatal-error-handler.php(46): load_default_textdomain() #8 [internal function]: WP_Fatal_Error_Handler in /home/nc028900/www_root/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 1062