If you put an image as "Link Image" in any menu item you will get this error:
Call stack
# Function Location
1 () JROOT\templates\gk_fit\lib\menu\GKBase.class.php:320
2 require_once() JROOT\templates\gk_fit\lib\framework\helper.menu.php:25
3 GKTemplateMenu->getMenuType() JROOT\templates\gk_fit\lib\gk.framework.php:91
4 GKTemplate->__construct() JROOT\templates\gk_fit\index.php:27
5 require() JROOT\libraries\src\Document\HtmlDocument.php:769
6 Joomla\CMS\Document\HtmlDocument->_loadTemplate() JROOT\libraries\src\Document\HtmlDocument.php:828
7 Joomla\CMS\Document\HtmlDocument->_fetchTemplate() JROOT\libraries\src\Document\HtmlDocument.php:631
8 Joomla\CMS\Document\HtmlDocument->parse() JROOT\libraries\src\Application\CMSApplication.php:1022
9 Joomla\CMS\Application\CMSApplication->render() JROOT\libraries\src\Application\SiteApplication.php:804
10 Joomla\CMS\Application\SiteApplication->render() JROOT\libraries\src\Application\CMSApplication.php:284
11 Joomla\CMS\Application\CMSApplication->execute() JROOT\includes\app.php:63
12 require_once() JROOT\index.php:32