Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, WPML\Collect\Support\Collection given in /app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wp/classes/Cache.php:34
Stack trace:
#0 /app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wp/classes/Cache.php(34): in_array('wpml_string_tra...', Object(WPML\Collect\Support\Collection), true)
#1 [internal function]: WPML\LIB\WP\Cache::WPML\LIB\WP\{closure}('WPML_ST_CACHE', 'wpml_string_tra...', 3600, Object(WPML\Collect\Support\Collection))
#2 /app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array)
#3 [internal function]: WPML\LIB\WP\Cache::WPML\FP\{closure}('WPML_ST_CACHE', 'wpml_string_tra...', 3600, Object(WPML\Collect\Support\Collection))
#4 /app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array(Object(Closure), Array)
#5 /app/public/wp-content/plugins/wpml-string-translation/classes/translation-files/Domains.php(75): WPML\LIB\WP\Cache::__callStatic('set', Array)
#6 /app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/helpers.php(26): WPML\ST\TranslationFile\Domains->WPML\ST\TranslationFile\{closure}()
#7 /app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Maybe.php(181): value(Object(Closure))
#8 /app/public/wp-content/plugins/wpml-string-translation/classes/translation-files/Domains.php(87): WPML\FP\Nothing->getOrElse(Object(Closure))
#9 /app/public/wp-content/plugins/wpml-string-translation/classes/translation-files/Domains.php(131): WPML\ST\TranslationFile\Domains->getMODomains()
#10 /app/public/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/CustomTextDomains.php(115): WPML\ST\TranslationFile\Domains->getCustomMODomains()
#11 /app/public/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/CustomTextDomains.php(83): WPML\ST\MO\Hooks\CustomTextDomains->init_custom_text_domains()
#12 /app/public/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(158): WPML\ST\MO\Hooks\CustomTextDomains->add_hooks()
#13 /app/public/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(96): WPML_Action_Filter_Loader->run_factory(Object(WPML\ST\MO\Hooks\Factory))
#14 /app/public/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(80): WPML_Action_Filter_Loader->load_factory(Object(WPML\ST\MO\Hooks\Factory))
#15 /app/public/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(49): WPML_Action_Filter_Loader->load_factory_or_action('WPML\\ST\\MO\\Hook...', false)
#16 /app/public/wp-content/plugins/wpml-string-translation/classes/translation-files/Hooks.php(27): WPML_Action_Filter_Loader->load(Array)
#17 /app/public/wp-content/plugins/wpml-string-translation/classes/class-wpml-st-initialize.php(40): WPML\ST\TranslationFile\Hooks->install()
#18 /app/public/wp-content/plugins/wpml-string-translation/classes/class-wpml-st-initialize.php(16): WPML_ST_Initialize->loadEarlyHooks()
#19 /app/public/wp-includes/class-wp-hook.php(324): WPML_ST_Initialize->run('')
#20 /app/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#21 /app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#22 /app/public/wp-settings.php(559): do_action('plugins_loaded')
#23 /app/public/wp-config.php(113): require_once('/app/public/wp-...')
#24 /app/public/wp-load.php(50): require_once('/app/public/wp-...')
#25 /app/public/wp-blog-header.php(13): require_once('/app/public/wp-...')
#26 /app/public/index.php(17): require('/app/public/wp-...')
#27 {main}
thrown in /app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wp/classes/Cache.php on line 34
Warning: Undefined array key "keyspace_hits" in /app/public/wp-content/mu-plugins/object-cache-pro/src/Metrics/RedisMetrics.php on line 125
Warning: Undefined array key "keyspace_misses" in /app/public/wp-content/mu-plugins/object-cache-pro/src/Metrics/RedisMetrics.php on line 125
Warning: Undefined array key "keyspace_hits" in /app/public/wp-content/mu-plugins/object-cache-pro/src/Metrics/RedisMetrics.php on line 127
Warning: Undefined array key "keyspace_misses" in /app/public/wp-content/mu-plugins/object-cache-pro/src/Metrics/RedisMetrics.php on line 128
Warning: Undefined array key "instantaneous_ops_per_sec" in /app/public/wp-content/mu-plugins/object-cache-pro/src/Metrics/RedisMetrics.php on line 130
Warning: Undefined array key "evicted_keys" in /app/public/wp-content/mu-plugins/object-cache-pro/src/Metrics/RedisMetrics.php on line 131
Warning: Undefined array key "used_memory" in /app/public/wp-content/mu-plugins/object-cache-pro/src/Metrics/RedisMetrics.php on line 132
Warning: Undefined array key "used_memory_rss" in /app/public/wp-content/mu-plugins/object-cache-pro/src/Metrics/RedisMetrics.php on line 133
Warning: Undefined array key "connected_clients" in /app/public/wp-content/mu-plugins/object-cache-pro/src/Metrics/RedisMetrics.php on line 136
Warning: Undefined array key "rejected_connections" in /app/public/wp-content/mu-plugins/object-cache-pro/src/Metrics/RedisMetrics.php on line 138