Warning: Undefined variable $dirs in /home/lanciain/public_html/getfiles.php on line 32

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/lanciain/public_html/getfiles.php:32 Stack trace: #0 /home/lanciain/public_html/calendars.php(25): getfiles('images/calendar...', 'files') #1 {main} thrown in /home/lanciain/public_html/getfiles.php on line 32