Error: Call to a member function isStatic() on bool in /var/www/carrouselthestore.com/public_html/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php:492 Stack trace: #0 /var/www/carrouselthestore.com/public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php(707): Magento\Eav\Model\Entity\Collection\AbstractCollection->addAttributeToSelect('sale', true) #1 /var/www/carrouselthestore.com/public_html/generated/code/Magento/Catalog/Model/ResourceModel/Product/Collection/Interceptor.php(113): Magento\Catalog\Model\ResourceModel\Product\Collection->addAttributeToSelect('sale', true) #2 /var/www/carrouselthestore.com/public_html/app/code/WeltPixel/OwlCarouselSlider/Block/Slider/Products.php(502): Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->addAttributeToSelect('sale', true) #3 /var/www/carrouselthestore.com/public_html/app/code/WeltPixel/OwlCarouselSlider/Block/Slider/Products.php(177): WeltPixel\OwlCarouselSlider\Block\Slider\Products->_getSellProductCollection(Object(Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor)) #4 /var/www/carrouselthestore.com/public_html/generated/code/WeltPixel/OwlCarouselSlider/Block/Slider/Products/Interceptor.php(32): WeltPixel\OwlCarouselSlider\Block\Slider\Products->getProductCollection() #5 [internal function]: WeltPixel\OwlCarouselSlider\Block\Slider\Products\Interceptor->getProductCollection() #6 /var/www/carrouselthestore.com/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(94): call_user_func_array(Array, Array) #7 /var/www/carrouselthestore.com/public_html/app/code/WeltPixel/OwlCarouselSlider/view/frontend/templates/sliders/products.phtml(35): Magento\Framework\View\TemplateEngine\Php->__call('getProductColle...', Array) #8 /var/www/carrouselthestore.com/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/var/www/carrou...') #9 /var/www/carrouselthestore.com/public_html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render(Object(WeltPixel\OwlCarouselSlider\Block\Slider\Products\Interceptor), '/var/www/carrou...', Array) #10 /var/www/carrouselthestore.com/public_html/generated/code/WeltPixel/OwlCarouselSlider/Block/Slider/Products/Interceptor.php(419): Magento\Framework\View\Element\Template->fetchView('/var/www/carrou...') #11 /var/www/carrouselthestore.com/public_html/vendor/magento/framework/View/Element/Template.php(303): WeltPixel\OwlCarouselSlider\Block\Slider\Products\Interceptor->fetchView('/var/www/carrou...') #12 /var/www/carrouselthestore.com/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #13 /var/www/carrouselthestore.com/public_html/vendor/magento/framework/Cache/LockGuardedCacheLoader.php(136): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #14 /var/www/carrouselthestore.com/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1133): Magento\Framework\Cache\LockGuardedCacheLoader->lockedLoadData('BLOCK_44b1270f7...', Object(Closure), Object(Closure), Object(Closure)) #15 /var/www/carrouselthestore.com/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #16 /var/www/carrouselthestore.com/public_html/generated/code/WeltPixel/OwlCarouselSlider/Block/Slider/Products/Interceptor.php(635): Magento\Framework\View\Element\AbstractBlock->toHtml() #17 /var/www/carrouselthestore.com/public_html/vendor/magento/module-widget/Model/Template/Filter.php(121): WeltPixel\OwlCarouselSlider\Block\Slider\Products\Interceptor->toHtml() #18 /var/www/carrouselthestore.com/public_html/generated/code/Magento/Widget/Model/Template/Filter/Interceptor.php(23): Magento\Widget\Model\Template\Filter->generateWidget(Array) #19 /var/www/carrouselthestore.com/public_html/vendor/magento/module-widget/Model/Template/Filter.php(132): Magento\Widget\Model\Template\Filter\Interceptor->generateWidget(Array) #20 /var/www/carrouselthestore.com/public_html/generated/code/Magento/Widget/Model/Template/Filter/Interceptor.php(32): Magento\Widget\Model\Template\Filter->widgetDirective(Array) #21 [internal function]: Magento\Widget\Model\Template\Filter\Interceptor->widgetDirective(Array) #22 /var/www/carrouselthestore.com/public_html/vendor/magento/framework/Filter/DirectiveProcessor/LegacyDirective.php(42): ReflectionMethod->invokeArgs(Object(Magento\Widget\Model\Template\Filter\Interceptor), Array) #23 /var/www/carrouselthestore.com/public_html/vendor/magento/framework/Filter/Template.php(184): Magento\Framework\Filter\DirectiveProcessor\LegacyDirective->process(Array, Object(Magento\Widget\Model\Template\Filter\Interceptor), Array) #24 /var/www/carrouselthestore.com/public_html/vendor/magento/module-email/Model/Template/Filter.php(1080): Magento\Framework\Filter\Template->filter('\n
filter('\n