Fatal error: Uncaught Error: Call to a member function getBrandId() on null in /var/www/html/frontlinescrubs.com/app/code/Mage360/Brands/Controller/View/Index.php:106 Stack trace: #0 /var/www/html/frontlinescrubs.com/vendor/magento/framework/App/Action/Action.php(102): Mage360\Brands\Controller\View\Index->execute() #1 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #2 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(70): Mage360\Brands\Controller\View\Index\Interceptor->___callParent('dispatch', Array) #3 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Mage360\\Brands\\...', 'dispatch', Object(Mage360\Brands\Controller\View\Index\Interceptor), Array, 'contextPlugin') #4 /var/www/html/frontlinescrubs.com/vendor/magento/module-store/App/Action/Plugin/Context.php(106): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #5 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\Action\Plugin\Context->aroundDispatch(Object(Mage360\Brands\Controller\View\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #6 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Mage360\\Brands\\...', 'dispatch', Object(Mage360\Brands\Controller\View\Index\Interceptor), Array, 'customer-app-ac...') #7 /var/www/html/frontlinescrubs.com/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #8 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Customer\Model\App\Action\ContextPlugin->aroundDispatch(Object(Mage360\Brands\Controller\View\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #9 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Mage360\\Brands\\...', 'dispatch', Object(Mage360\Brands\Controller\View\Index\Interceptor), Array, 'storeCheck') #10 /var/www/html/frontlinescrubs.com/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #11 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\Action\Plugin\StoreCheck->aroundDispatch(Object(Mage360\Brands\Controller\View\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #12 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Mage360\\Brands\\...', 'dispatch', Object(Mage360\Brands\Controller\View\Index\Interceptor), Array, 'weee-app-action...') #13 /var/www/html/frontlinescrubs.com/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #14 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Weee\Model\App\Action\ContextPlugin->aroundDispatch(Object(Mage360\Brands\Controller\View\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #15 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Mage360\\Brands\\...', 'dispatch', Object(Mage360\Brands\Controller\View\Index\Interceptor), Array, 'tax-app-action-...') #16 /var/www/html/frontlinescrubs.com/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): Mage360\Brands\Controller\View\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #17 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Tax\Model\App\Action\ContextPlugin->aroundDispatch(Object(Mage360\Brands\Controller\View\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #18 /var/www/html/frontlinescrubs.com/var/generation/Mage360/Brands/Controller/View/Index/Interceptor.php(26): Mage360\Brands\Controller\View\Index\Interceptor->___callPlugins('dispatch', Array, Array) #19 /var/www/html/frontlinescrubs.com/vendor/magento/framework/App/FrontController.php(55): Mage360\Brands\Controller\View\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #20 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #21 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #22 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'requestPreproce...') #23 /var/www/html/frontlinescrubs.com/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #24 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #25 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install') #26 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #27 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #28 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...') #29 /var/www/html/frontlinescrubs.com/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #30 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #31 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...') #32 /var/www/html/frontlinescrubs.com/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(69): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #33 /var/www/html/frontlinescrubs.com/vendor/magento/framework/Interception/Interceptor.php(142): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #34 /var/www/html/frontlinescrubs.com/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array) #35 /var/www/html/frontlinescrubs.com/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #36 /var/www/html/frontlinescrubs.com/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch() #37 /var/www/html/frontlinescrubs.com/index.php(41): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #38 {main} thrown in /var/www/html/frontlinescrubs.com/app/code/Mage360/Brands/Controller/View/Index.php on line 106