Fatal error: Uncaught Error: Call to a member function add_filter() on array in /home/apedys/www/wp-includes/plugin.php:121 Stack trace: #0 /home/apedys/www/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php(184): add_filter('locale', Object(Closure)) #1 /home/apedys/www/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php(138): Tribe\Events\I18n->with_locale('fr_FR', Array, Array) #2 /home/apedys/www/wp-content/plugins/the-events-calendar/src/Tribe/Rewrite.php(743): Tribe\Events\I18n->get_i18n_strings_for_domains(Array, Array, Array, 2) #3 /home/apedys/www/wp-content/plugins/the-events-calendar/src/Tribe/Rewrite.php(303): Tribe__Events__Rewrite->get_localized_bases(Array, Array) #4 /home/apedys/www/wp-content/plugins/the-events-calendar/common/src/Tribe/Rewrite.php(128): Tribe__Events__Rewrite->get_bases('regex') #5 /home/apedys/www/wp-content/plugins/the-events-calendar/common/src/Tribe/Rewrite.php(140): Tribe__Rewrite->setup(Object(WP_Rewrite)) #6 /home/apedys/www/wp-content/plugins/the-events-calendar/src/ in /home/apedys/www/wp-includes/plugin.php on line 121

Fatal error: Uncaught Error: Call to a member function apply_filters() on array in /home/apedys/www/wp-includes/plugin.php:189 Stack trace: #0 /home/apedys/www/wp-includes/l10n.php(35): apply_filters('locale', 'fr_FR') #1 /home/apedys/www/wp-includes/l10n.php(137): get_locale() #2 /home/apedys/www/wp-includes/l10n.php(828): determine_locale() #3 /home/apedys/www/wp-includes/class-wp-fatal-error-handler.php(46): load_default_textdomain() #4 [internal function]: WP_Fatal_Error_Handler->handle() #5 {main} thrown in /home/apedys/www/wp-includes/plugin.php on line 189