Fatal error: Uncaught Error: Call to a member function getSelect() on array in /chroot/home/a0b0aa65/cfd7e2d43b.nxcli.net/app/code/MGS/Brand/Block/Brand/Product/ListProduct.php:31
Stack trace:
#0 /chroot/home/a0b0aa65/cfd7e2d43b.nxcli.net/vendor/magento/module-catalog/Block/Product/ListProduct.php(188): MGS\Brand\Block\Brand\Product\ListProduct->_getProductCollection()
#1 /chroot/home/a0b0aa65/cfd7e2d43b.nxcli.net/vendor/magento/framework/View/Element/AbstractBlock.php(1096): Magento\Catalog\Block\Product\ListProduct->_beforeToHtml()
#2 /chroot/home/a0b0aa65/cfd7e2d43b.nxcli.net/vendor/magento/framework/View/Element/AbstractBlock.php(1101): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}()
#3 /chroot/home/a0b0aa65/cfd7e2d43b.nxcli.net/vendor/magento/framework/View/Element/AbstractBlock.php(671): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#4 /chroot/home/a0b0aa65/cfd7e2d43b.nxcli.net/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Elem in /chroot/home/a0b0aa65/cfd7e2d43b.nxcli.net/app/code/MGS/Brand/Block/Brand/Product/ListProduct.php on line 31