Warning: Trying to access array offset on value of type bool in /home/.sites/107/site221/web/wp-content/plugins/theme-translation-for-polylang/theme-translation-for-polylang.php on line 342 Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /home/.sites/107/site221/web/wp-content/plugins/theme-translation-for-polylang/theme-translation-for-polylang.php:342 Stack trace: #0 /home/.sites/107/site221/web/wp-content/plugins/theme-translation-for-polylang/theme-translation-for-polylang.php(342): in_array('polylang', NULL) #1 /home/.sites/107/site221/web/wp-includes/class-wp-hook.php(308): tt_pll_gettext_filter('Strings transla...', 'Strings transla...', 'polylang') #2 /home/.sites/107/site221/web/wp-includes/plugin.php(205): WP_Hook->apply_filters('Strings transla...', Array) #3 /home/.sites/107/site221/web/wp-includes/l10n.php(199): apply_filters('gettext', 'Strings transla...', 'Strings transla...', 'polylang') #4 /home/.sites/107/site221/web/wp-includes/l10n.php(299): translate('Strings transla...', 'polylang') #5 /home/.sites/107/site221/web/wp-content/plugins/polylang/include/mo.php(21): __('Strings transla...', 'polylang') #6 /home/.sites/107/site221/web/wp-content/plugins/polylang/include/base.php(125): PLL_MO->__construct() #7 /home/.sites/107/site221/web/wp-includes/class-wp-hook.php(310): PLL_Base->load_strings_translations('en') #8 /home/.sites/107/site221/web/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #9 /home/.sites/107/site221/web/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /home/.sites/107/site221/web/wp-content/plugins/polylang/frontend/choose-lang.php(112): do_action('pll_language_de...', 'en', Object(PLL_Language)) #11 /home/.sites/107/site221/web/wp-content/plugins/polylang/frontend/choose-lang-url.php(82): PLL_Choose_Lang->set_language(Object(PLL_Language)) #12 /home/.sites/107/site221/web/wp-content/plugins/polylang/frontend/choose-lang-url.php(34): PLL_Choose_Lang_Url->set_language_from_url() #13 /home/.sites/107/site221/web/wp-content/plugins/polylang/frontend/frontend.php(111): PLL_Choose_Lang_Url->init() #14 /home/.sites/107/site221/web/wp-content/plugins/polylang/include/class-polylang.php(251): PLL_Frontend->init() #15 /home/.sites/107/site221/web/wp-includes/class-wp-hook.php(308): Polylang->init('') #16 /home/.sites/107/site221/web/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #17 /home/.sites/107/site221/web/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #18 /home/.sites/107/site221/web/wp-settings.php(480): do_action('plugins_loaded') #19 /home/.sites/107/site221/web/wp-config.php(115): require_once('/home/.sites/10...') #20 /home/.sites/107/site221/web/wp-load.php(50): require_once('/home/.sites/10...') #21 /home/.sites/107/site221/web/wp-blog-header.php(13): require_once('/home/.sites/10...') #22 /home/.sites/107/site221/web/index.php(17): require('/home/.sites/10...') #23 {main} thrown in /home/.sites/107/site221/web/wp-content/plugins/theme-translation-for-polylang/theme-translation-for-polylang.php on line 342 Warning: Trying to access array offset on value of type bool in /home/.sites/107/site221/web/wp-content/plugins/theme-translation-for-polylang/theme-translation-for-polylang.php on line 342 Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /home/.sites/107/site221/web/wp-content/plugins/theme-translation-for-polylang/theme-translation-for-polylang.php:342 Stack trace: #0 /home/.sites/107/site221/web/wp-content/plugins/theme-translation-for-polylang/theme-translation-for-polylang.php(342): in_array('default', NULL) #1 /home/.sites/107/site221/web/wp-includes/class-wp-hook.php(308): tt_pll_gettext_filter('Error occurred ...', 'Error occurred ...', 'default') #2 /home/.sites/107/site221/web/wp-includes/plugin.php(205): WP_Hook->apply_filters('Error occurred ...', Array) #3 /home/.sites/107/site221/web/wp-includes/l10n.php(199): apply_filters('gettext', 'Error occurred ...', 'Error occurred ...', 'default') #4 /home/.sites/107/site221/web/wp-includes/l10n.php(299): translate('Error occurred ...', 'default') #5 /home/.sites/107/site221/web/wp-includes/class-wp-recovery-mode.php(178): __('Error occurred ...') #6 /home/.sites/107/site221/web/wp-includes/class-wp-fatal-error-handler.php(53): WP_Recovery_Mode->handle_error(Array) #7 [internal function]: WP_Fatal_Error_Handler->handle() #8 {main} thrown in /home/.sites/107/site221/web/wp-content/plugins/theme-translation-for-polylang/theme-translation-for-polylang.php on line 342