Fatal error: Uncaught Error: Call to a member function getFrontend() on boolean in /var/www/vhosts/scanart.com.my/httpdocs/app/code/Swt/Brands/Block/AbstractBlock.php:161
Stack trace:
#0 /var/www/vhosts/scanart.com.my/httpdocs/app/code/Swt/Brands/Block/Logo.php(116): Swt\Brands\Block\AbstractBlock->getBrand(Object(MageArray\HidePrice\Model\Catalog\Product\Interceptor))
#1 /var/www/vhosts/scanart.com.my/httpdocs/app/code/Swt/Brands/Block/Logo.php(103): Swt\Brands\Block\Logo->getCurrentBrand()
#2 /var/www/vhosts/scanart.com.my/httpdocs/vendor/magento/framework/View/Element/AbstractBlock.php(975): Swt\Brands\Block\Logo->getCacheKeyInfo()
#3 /var/www/vhosts/scanart.com.my/httpdocs/vendor/magento/framework/View/Element/AbstractBlock.php(1027): Magento\Framework\View\Element\AbstractBlock->getCacheKey()
#4 /var/www/vhosts/scanart.com.my/httpdocs/vendor/magento/framework/View/Element/AbstractBlock.php(652): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#5 /var/www/vhosts/scanart.com.my/httpdocs/vendor/magento/framew in /var/www/vhosts/scanart.com.my/httpdocs/app/code/Swt/Brands/Block/AbstractBlock.php on line 161