Fatal error: Uncaught Exception: Error 400 API key not valid. Please pass a valid API key. : badRequest in /mnt/app/wordpress/apis/vendor/madcoda/php-youtube-api/src/Youtube.php:527
Stack trace:
#0 /mnt/app/wordpress/apis/vendor/madcoda/php-youtube-api/src/Youtube.php(307): Madcoda\Youtube\Youtube->decodeSingle()
#1 /mnt/app/wordpress/wp-content/themes/hat-simpleshow/tmpl.videos.php(13): Madcoda\Youtube\Youtube->getChannelByName()
#2 /mnt/app/wordpress/wp-includes/template-loader.php(106): include('...')
#3 /mnt/app/wordpress/wp-blog-header.php(19): require_once('...')
#4 /mnt/app/wordpress/index.php(17): require('...')
#5 {main}
thrown in /mnt/app/wordpress/apis/vendor/madcoda/php-youtube-api/src/Youtube.php on line 527