Warning: Undefined variable $idcantons in /home/clients/e17e2ffddcc5195810934587237abbc2/website/tourismswitzerland/functions/func.canton.php on line 42

Fatal error: Uncaught TypeError: array_column(): Argument #1 ($array) must be of type array, null given in /home/clients/e17e2ffddcc5195810934587237abbc2/website/tourismswitzerland/functions/func.canton.php:42 Stack trace: #0 /home/clients/e17e2ffddcc5195810934587237abbc2/website/tourismswitzerland/functions/func.canton.php(42): array_column(NULL, 'id') #1 /home/clients/e17e2ffddcc5195810934587237abbc2/website/tourismswitzerland/pages/head/head.canton.php(2): get_id_canton_from_header(Object(PDO)) #2 /home/clients/e17e2ffddcc5195810934587237abbc2/website/tourismswitzerland/canton.php(7): include('/home/clients/e...') #3 {main} thrown in /home/clients/e17e2ffddcc5195810934587237abbc2/website/tourismswitzerland/functions/func.canton.php on line 42