Fatal error: Uncaught TypeError: WPML\User\UsersByCapsRepository::__construct(): Argument #2 ($languagePairs) must be of type WPML\User\LanguagePairs\ILanguagePairs, WPML_Language_Pair_Records given, called in /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/classes/container/class-config.php on line 63 and defined in /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/classes/user/UsersByCapsRepository.php:18 Stack trace: #0 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/classes/container/class-config.php(63): WPML\User\UsersByCapsRepository->__construct() #1 [internal function]: WPML\Container\Config::WPML\Container\{closure}() #2 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Executable.php(62): call_user_func_array() #3 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Executable.php(46): WPML\Auryn\Executable->invokeClosureCompat() #4 [internal function]: WPML\Auryn\Executable->__invoke() #5 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(371): call_user_func_array() #6 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(542): WPML\Auryn\Injector->make() #7 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(474): WPML\Auryn\Injector->buildArgFromTypeHint() #8 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(414): WPML\Auryn\Injector->provisionFuncArgs() #9 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(373): WPML\Auryn\Injector->provisionInstance() #10 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(542): WPML\Auryn\Injector->make() #11 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(474): WPML\Auryn\Injector->buildArgFromTypeHint() #12 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(414): WPML\Auryn\Injector->provisionFuncArgs() #13 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(373): WPML\Auryn\Injector->provisionInstance() #14 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/classes/container/class-wpml-container.php(98): WPML\Auryn\Injector->make() #15 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/classes/container/functions.php(29): WPML\Container\Container::make() #16 [internal function]: WPML\Container\{closure}() #17 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array() #18 [internal function]: WPML\FP\{closure}() #19 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/classes/container/functions.php(35): call_user_func_array() #20 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/REST/class-wpml-tm-rest-ams-clients-factory.php(10): WPML\Container\make() #21 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(148): WPML_TM_REST_AMS_Clients_Factory->create() #22 /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(125): WPML_Action_Filter_Loader->run_factory() #23 /home/hautbourg.fr/www/wp-includes/class-wp-hook.php(324): WPML_Action_Filter_Loader->deferred_loader() #24 /home/hautbourg.fr/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #25 /home/hautbourg.fr/www/wp-includes/plugin.php(517): WP_Hook->do_action() #26 /home/hautbourg.fr/www/wp-includes/rest-api.php(589): do_action() #27 /home/hautbourg.fr/www/wp-includes/rest-api.php(413): rest_get_server() #28 /home/hautbourg.fr/www/wp-includes/class-wp-hook.php(324): rest_api_loaded() #29 /home/hautbourg.fr/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #30 /home/hautbourg.fr/www/wp-includes/plugin.php(565): WP_Hook->do_action() #31 /home/hautbourg.fr/www/wp-includes/class-wp.php(418): do_action_ref_array() #32 /home/hautbourg.fr/www/wp-includes/class-wp.php(813): WP->parse_request() #33 /home/hautbourg.fr/www/wp-includes/functions.php(1336): WP->main() #34 /home/hautbourg.fr/www/wp-blog-header.php(16): wp() #35 /home/hautbourg.fr/www/index.php(17): require('...') #36 {main} thrown in /home/hautbourg.fr/www/wp-content/plugins/sitepress-multilingual-cms/classes/user/UsersByCapsRepository.php on line 18