Fatal error: Uncaught Error: Call to a member function format() on string in /var/www/bedtime.fm/app/modules/Podcast/src/Action/Feed.php:111
Stack trace:
#0 /var/www/bedtime.fm/app/modules/Podcast/src/Action/Feed.php(50): Podcast\Action\Feed->generateXML()
#1 [internal function]: Podcast\Action\Feed->Podcast\Action\{closure}()
#2 /var/www/bedtime.fm/vendor/gregwar/cache/Gregwar/Cache/Cache.php(339): call_user_func()
#3 /var/www/bedtime.fm/app/modules/Podcast/src/Action/Feed.php(52): Gregwar\Cache\Cache->getOrCreate()
#4 /var/www/bedtime.fm/app/modules/Podcast/src/ShowController.php(59): Podcast\Action\Feed->__invoke()
#5 [internal function]: Podcast\ShowController->view()
#6 /var/www/bedtime.fm/lib/m6/src/M6/Route/Route.php(28): call_user_func_array()
#7 /var/www/bedtime.fm/vendor/slim/slim/Slim/Slim.php(1355): M6\Route\Route->dispatch()
#8 /var/www/bedtime.fm/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#9 /var/www/bedtime.fm/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#10 /var/www/bedtime.fm/lib/m6/src/M6/Middleware/Authentication.php(87): Slim\Middleware\MethodOverride->call()
#11 /var/www/bedtime.fm/lib/m6/src/M6/Middleware/Session.php(32): M6\Middleware\Authentication->call()
#12 /var/www/bedtime.fm/lib/m6/src/M6/Middleware/PartialContent.php(18): M6\Middleware\Session->call()
#13 /var/www/bedtime.fm/lib/m6/src/M6/Middleware/Minify.php(53): M6\Middleware\PartialContent->call()
#14 /var/www/bedtime.fm/lib/m6/src/M6/Middleware/ContentNegotiation.php(55): M6\Middleware\Minify->call()
#15 /var/www/bedtime.fm/lib/m6/src/M6/Middleware/ExceptionCatcher.php(20): M6\Middleware\ContentNegotiation->call()
#16 /var/www/bedtime.fm/vendor/slim/slim/Slim/Slim.php(1300): M6\Middleware\ExceptionCatcher->call()
#17 /var/www/bedtime.fm/public/index.php(14): Slim\Slim->run()
#18 /var/www/bedtime.fm/public/index.php(5): run()
#19 {main}
thrown in /var/www/bedtime.fm/app/modules/Podcast/src/Action/Feed.php on line 111