Warning: Undefined array key 0 in /home/www/httpdocs/atea.fr/wp-content/themes/atea_theme/category.php on line 46

Fatal error: Uncaught TypeError: atea_get_current_category(): Return value must be of type WP_Term, null returned in /home/www/httpdocs/atea.fr/wp-content/themes/atea_theme/category.php:46 Stack trace: #0 /home/www/httpdocs/atea.fr/wp-content/themes/atea_theme/category.php(172): atea_get_current_category() #1 /home/www/httpdocs/atea.fr/wp-includes/template-loader.php(106): include('/home/www/httpd...') #2 /home/www/httpdocs/atea.fr/wp-blog-header.php(19): require_once('/home/www/httpd...') #3 /home/www/httpdocs/atea.fr/index.php(17): require('/home/www/httpd...') #4 {main} thrown in /home/www/httpdocs/atea.fr/wp-content/themes/atea_theme/category.php on line 46