Fatal error: Uncaught TypeError: Return value of {closure}() must be of the type string, null returned in /home/shiftbrain/www/corporate/2021/public/wp-content/themes/my-theme/functions.php:52
Stack trace:
#0 /home/shiftbrain/www/corporate/2021/public/wp-content/plugins/timber-library/vendor/twig/twig/src/Environment.php(497) : eval()'d code(379): {closure}('components/inde...')
#1 /home/shiftbrain/www/corporate/2021/public/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(704): __TwigTemplate_ca76f9c20c5ab127557056bf8cddef1a26f01b50923bcb61459b7081901c17ff->getprojectItem('', NULL, 0, 'beforeCopy', '-before', true, '')
#2 /home/shiftbrain/www/corporate/2021/public/wp-content/plugins/timber-library/vendor/twig/twig/src/Environment.php(497) : eval()'d code(170): Twig\Template->getAttribute(Object(__TwigTemplate_ca76f9c20c5ab127557056bf8cddef1a26f01b50923bcb61459b7081901c17ff), 'projectItem', Array, 'method')
#3 /home/shiftbrain/www/corporate/2021/public/wp-content/plugins/timber-library/vendor/twig/twig/s in /home/shiftbrain/www/corporate/2021/public/wp-content/themes/my-theme/functions.php on line 52