Fatal error: Uncaught ValueError: scandir(): Argument #1 ($directory) cannot be empty in /home4/adamwith/public_html/public_pages/makeYouTubeVideo.php:426 Stack trace: #0 /home4/adamwith/public_html/public_pages/makeYouTubeVideo.php(426): scandir('') #1 /home4/adamwith/public_html/public_pages/makeYouTubeVideo.php(259): createVideo('collages') #2 /home4/adamwith/public_html/index.php(95): require_once('/home4/adamwith...') #3 {main} thrown in /home4/adamwith/public_html/public_pages/makeYouTubeVideo.php on line 426