Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/webshop.gevelbeheer.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/wp-core-hooks/post/class-wpml-remove-pages-not-in-current-language.php on line 37

Fatal error: Uncaught InvalidArgumentException: target should be an object with filter method or an array in /home/customer/www/webshop.gevelbeheer.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php:207 Stack trace: #0 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(Closure), false) #1 /home/customer/www/webshop.gevelbeheer.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(152): call_user_func_array(Object(Closure), Array) #2 /home/customer/www/webshop.gevelbeheer.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/wp-core-hooks/post/class-wpml-remove-pages-not-in-current-language.php(48): WPML\FP\{closure}(false) #3 /home/customer/www/webshop.gevelbeheer.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(2271): WPML_Remove_Pages_Not_In_Current_Language->filter_pages(false, Array) #4 /home/customer/www/webshop.gevelbeheer.nl/public_html/wp-includes/class-wp-hook.php(307): SitePress-> in /home/customer/www/webshop.gevelbeheer.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php on line 207