Fatal error: Uncaught TypeError: Argument 3 passed to WCML_Switch_Lang_Request::__construct() must be an instance of WPML\Core\ISitePress, instance of SitePress given, called in /home/kremator/public_html/wp-content/plugins/woocommerce-multilingual/wpml-woocommerce.php on line 62 and defined in /home/kremator/public_html/wp-content/plugins/woocommerce-multilingual/inc/wcml-switch-lang-request.php:16
Stack trace:
#0 /home/kremator/public_html/wp-content/plugins/woocommerce-multilingual/wpml-woocommerce.php(62): WCML_Switch_Lang_Request->__construct(Object(WPML_Cookie), Object(WPML_WP_API), Object(SitePress))
#1 /home/kremator/public_html/wp-settings.php(409): include_once('/home/kremator/...')
#2 /home/kremator/public_html/wp-config.php(95): require_once('/home/kremator/...')
#3 /home/kremator/public_html/wp-load.php(50): require_once('/home/kremator/...')
#4 /home/kremator/public_html/wp-blog-header.php(13): require_once('/home/kremator/...')
#5 /home/kremator/public_html/index.php(17): require('/home/kremator/...')
#6 {m in /home/kremator/public_html/wp-content/plugins/woocommerce-multilingual/inc/wcml-switch-lang-request.php on line 16