Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/bangerfi/public_html/domains/bangertv.com/wp-content/themes/bangertvvideo/functions/youtube-api.php:71 Stack trace: #0 [internal function]: getPublishDate('https://youtu.b...') #1 /home/bangerfi/public_html/domains/bangertv.com/wp-content/plugins/timber-library/lib/Twig.php(302): call_user_func_array('getPublishDate', Array) #2 /home/bangerfi/public_html/domains/bangertv.com/wp-content/plugins/timber-library/vendor/twig/twig/src/Environment.php(497) : eval()'d code(358): Timber\Twig->exec_function('getPublishDate', 'https://youtu.b...') #3 /home/bangerfi/public_html/domains/bangertv.com/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(455): __TwigTemplate_37392a0ce5806d4077c916bda9210f62206e5290e1642e3ea93cc60e476bcf74->doDisplay(Array, Array) #4 /home/bangerfi/public_html/domains/bangertv.com/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(422): Twig\Template->displayWithErrorHandling(Array, Array) #5 in /home/bangerfi/public_html/domains/bangertv.com/wp-content/themes/bangertvvideo/functions/youtube-api.php on line 71