Fatal error: During inheritance of Countable: Uncaught Exception: Deprecated Functionality: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/www.motonice.com/vendor/composer/composer/src/Composer/Repository/ArrayRepository.php on line 277 in /var/www/www.motonice.com/vendor/magento/framework/App/ErrorHandler.php:62
Stack trace:
#0 /var/www/www.motonice.com/vendor/composer/composer/src/Composer/Repository/ArrayRepository.php(28): Magento\Framework\App\ErrorHandler->handler()
#1 /var/www/www.motonice.com/vendor/composer/ClassLoader.php(576): include('...')
#2 /var/www/www.motonice.com/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}()
#3 /var/www/www.motonice.com/vendor/composer/composer/src/Composer/Repository/PlatformRepository.php(31): Composer\Autoload\ClassLoader->loadClass()
#4 /var/www/www.motonice.com/vendor/composer/ClassLoader.php(576): include('...')
#5 /var/www/www.motonice.com/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}()
#6 /var/www/www.motonice.com/vendor/composer/composer/src/Composer/Package/Loader/ValidatingArrayLoader.php(375): Composer\Autoload\ClassLoader->loadClass()
#7 /var/www/www.motonice.com/vendor/composer/composer/src/Composer/Package/Loader/RootPackageLoader.php(70): Composer\Package\Loader\ValidatingArrayLoader::hasPackageNamingError()
#8 /var/www/www.motonice.com/vendor/composer/composer/src/Composer/Factory.php(368): Composer\Package\Loader\RootPackageLoader->load()
#9 /var/www/www.motonice.com/vendor/composer/composer/src/Composer/Factory.php(595): Composer\Factory->createComposer()
#10 /var/www/www.motonice.com/vendor/magento/framework/Composer/ComposerFactory.php(45): Composer\Factory::create()
#11 /var/www/www.motonice.com/vendor/magento/framework/Composer/ComposerInformation.php(368): Magento\Framework\Composer\ComposerFactory->create()
#12 /var/www/www.motonice.com/vendor/magento/framework/Composer/ComposerInformation.php(381): Magento\Framework\Composer\ComposerInformation->getComposer()
#13 /var/www/www.motonice.com/vendor/magento/framework/Composer/ComposerInformation.php(244): Magento\Framework\Composer\ComposerInformation->getLocker()
#14 /var/www/www.motonice.com/vendor/magento/framework/App/ProductMetadata.php(120): Magento\Framework\Composer\ComposerInformation->getSystemPackages()
#15 /var/www/www.motonice.com/vendor/magento/framework/App/ProductMetadata.php(80): Magento\Framework\App\ProductMetadata->getSystemPackageVersion()
#16 /var/www/www.motonice.com/vendor/amasty/base/Model/MagentoVersion.php(48): Magento\Framework\App\ProductMetadata->getVersion()
#17 /var/www/www.motonice.com/vendor/amasty/shopby/Model/Layer/FilterList.php(112): Amasty\Base\Model\MagentoVersion->get()
#18 /var/www/www.motonice.com/generated/code/Amasty/Shopby/Model/Layer/FilterList/Interceptor.php(14): Amasty\Shopby\Model\Layer\FilterList->__construct()
#19 /var/www/www.motonice.com/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Amasty\Shopby\Model\Layer\FilterList\Interceptor->__construct()
#20 /var/www/www.motonice.com/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject()
#21 /var/www/www.motonice.com/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create()
#22 /var/www/www.motonice.com/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(170): Magento\Framework\ObjectManager\ObjectManager->get()
#23 /var/www/www.motonice.com/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument()
#24 /var/www/www.motonice.com/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument()
#25 /var/www/www.motonice.com/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime()
#26 /var/www/www.motonice.com/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments()
#27 /var/www/www.motonice.com/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create()
#28 /var/www/www.motonice.com/vendor/magento/framework/View/Element/BlockFactory.php(44): Magento\Framework\ObjectManager\ObjectManager->create()
#29 /var/www/www.motonice.com/vendor/magento/framework/View/Layout/Generator/Block.php(272): Magento\Framework\View\Element\BlockFactory->createBlock()
#30 /var/www/www.motonice.com/vendor/magento/framework/View/Layout/Generator/Block.php(252): Magento\Framework\View\Layout\Generator\Block->getBlockInstance()
#31 /var/www/www.motonice.com/vendor/magento/framework/View/Layout/Generator/Block.php(225): Magento\Framework\View\Layout\Generator\Block->createBlock()
#32 /var/www/www.motonice.com/vendor/magento/framework/View/Layout/Generator/Block.php(134): Magento\Framework\View\Layout\Generator\Block->generateBlock()
#33 /var/www/www.motonice.com/vendor/magento/framework/View/Layout/GeneratorPool.php(93): Magento\Framework\View\Layout\Generator\Block->process()
#34 /var/www/www.motonice.com/vendor/magento/framework/View/Layout.php(365): Magento\Framework\View\Layout\GeneratorPool->process()
#35 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->generateElements()
#36 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent()
#37 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}()
#38 /var/www/www.motonice.com/generated/code/Magento/Framework/View/Layout/Interceptor.php(68): Magento\Framework\View\Layout\Interceptor->___callPlugins()
#39 /var/www/www.motonice.com/vendor/magento/framework/View/Layout/Builder.php(129): Magento\Framework\View\Layout\Interceptor->generateElements()
#40 /var/www/www.motonice.com/vendor/magento/framework/View/Page/Builder.php(65): Magento\Framework\View\Layout\Builder->generateLayoutBlocks()
#41 /var/www/www.motonice.com/vendor/magento/framework/View/Layout/Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks()
#42 /var/www/www.motonice.com/vendor/magento/framework/View/Page/Config.php(227): Magento\Framework\View\Layout\Builder->build()
#43 /var/www/www.motonice.com/vendor/magento/framework/View/Page/Config.php(591): Magento\Framework\View\Page\Config->build()
#44 /var/www/www.motonice.com/generated/code/Magento/Framework/View/Page/Config/Interceptor.php(248): Magento\Framework\View\Page\Config->getElementAttribute()
#45 /var/www/www.motonice.com/vendor/magento/framework/View/Page/Config.php(549): Magento\Framework\View\Page\Config\Interceptor->getElementAttribute()
#46 /var/www/www.motonice.com/generated/code/Magento/Framework/View/Page/Config/Interceptor.php(230): Magento\Framework\View\Page\Config->addBodyClass()
#47 /var/www/www.motonice.com/vendor/magento/module-catalog/Controller/Category/View.php(246): Magento\Framework\View\Page\Config\Interceptor->addBodyClass()
#48 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Catalog\Controller\Category\View->execute()
#49 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Controller\Category\View\Interceptor->___callParent()
#50 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Category\View\Interceptor->Magento\Framework\Interception\{closure}()
#51 /var/www/www.motonice.com/generated/code/Magento/Catalog/Controller/Category/View/Interceptor.php(23): Magento\Catalog\Controller\Category\View\Interceptor->___callPlugins()
#52 /var/www/www.motonice.com/vendor/magento/framework/App/Action/Action.php(111): Magento\Catalog\Controller\Category\View\Interceptor->execute()
#53 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch()
#54 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Controller\Category\View\Interceptor->___callParent()
#55 /var/www/www.motonice.com/app/code/Anowave/Ec/Plugin/App/Action/Context.php(148): Magento\Catalog\Controller\Category\View\Interceptor->Magento\Framework\Interception\{closure}()
#56 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(135): Anowave\Ec\Plugin\App\Action\Context->aroundDispatch()
#57 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Category\View\Interceptor->Magento\Framework\Interception\{closure}()
#58 /var/www/www.motonice.com/generated/code/Magento/Catalog/Controller/Category/View/Interceptor.php(32): Magento\Catalog\Controller\Category\View\Interceptor->___callPlugins()
#59 /var/www/www.motonice.com/vendor/magento/framework/App/FrontController.php(245): Magento\Catalog\Controller\Category\View\Interceptor->dispatch()
#60 /var/www/www.motonice.com/vendor/magento/framework/App/FrontController.php(212): Magento\Framework\App\FrontController->getActionResponse()
#61 /var/www/www.motonice.com/vendor/magento/framework/App/FrontController.php(146): Magento\Framework\App\FrontController->processRequest()
#62 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch()
#63 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent()
#64 /var/www/www.motonice.com/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(99): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}()
#65 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch()
#66 /var/www/www.motonice.com/vendor/amasty/aminvisiblecaptcha/Plugin/Framework/App/FrontControllerInterface/ValidateCaptcha.php(124): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}()
#67 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(135): Amasty\InvisibleCaptcha\Plugin\Framework\App\FrontControllerInterface\ValidateCaptcha->aroundDispatch()
#68 /var/www/www.motonice.com/vendor/mirasvit/module-cache-warmer/src/CacheWarmer/Plugin/Debug/OnHitPlugin.php(145): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}()
#69 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(135): Mirasvit\CacheWarmer\Plugin\Debug\OnHitPlugin->aroundAroundDispatch()
#70 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(153): Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->Magento\Framework\Interception\{closure}()
#71 /var/www/www.motonice.com/generated/code/Magento/PageCache/Model/App/FrontController/BuiltinPlugin/Interceptor.php(23): Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->___callPlugins()
#72 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->aroundDispatch()
#73 /var/www/www.motonice.com/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}()
#74 /var/www/www.motonice.com/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins()
#75 /var/www/www.motonice.com/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch()
#76 /var/www/www.motonice.com/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http->launch()
#77 /var/www/www.motonice.com/pub/index.php(30): Magento\Framework\App\Bootstrap->run()
#78 {main} in /var/www/www.motonice.com/vendor/composer/composer/src/Composer/Repository/ArrayRepository.php on line 28