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 /home/storepaperco/public_html/vendor/composer/composer/src/Composer/Repository/ArrayRepository.php on line 277 in /home/storepaperco/public_html/vendor/magento/framework/App/ErrorHandler.php:62
Stack trace:
#0 /home/storepaperco/public_html/vendor/composer/composer/src/Composer/Repository/ArrayRepository.php(28): Magento\Framework\App\ErrorHandler->handler(8192, 'Return type of ...', '/home/storepape...', 277)
#1 /home/storepaperco/public_html/vendor/composer/ClassLoader.php(576): include('/home/storepape...')
#2 /home/storepaperco/public_html/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/home/storepape...')
#3 /home/storepaperco/public_html/vendor/composer/composer/src/Composer/Repository/PlatformRepository.php(31): Composer\Autoload\ClassLoader->loadClass('Composer\\Reposi...')
#4 /home/storepaperco/public_html/vendor/composer/ClassLoader.php(576): include('/home/storepape...')
#5 /home/storepaperco/public_html/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/home/storepape...')
#6 /home/storepaperco/public_html/vendor/composer/composer/src/Composer/Package/Loader/ValidatingArrayLoader.php(375): Composer\Autoload\ClassLoader->loadClass('Composer\\Reposi...')
#7 /home/storepaperco/public_html/vendor/composer/composer/src/Composer/Package/Loader/RootPackageLoader.php(70): Composer\Package\Loader\ValidatingArrayLoader::hasPackageNamingError('magento/project...')
#8 /home/storepaperco/public_html/vendor/composer/composer/src/Composer/Factory.php(368): Composer\Package\Loader\RootPackageLoader->load(Array, 'Composer\\Packag...', '/home/storepape...')
#9 /home/storepaperco/public_html/vendor/composer/composer/src/Composer/Factory.php(595): Composer\Factory->createComposer(Object(Composer\IO\BufferIO), Array, false)
#10 /home/storepaperco/public_html/vendor/magento/framework/Composer/ComposerFactory.php(47): Composer\Factory::create(Object(Composer\IO\BufferIO), '/home/storepape...')
#11 /home/storepaperco/public_html/vendor/magento/framework/Composer/ComposerInformation.php(368): Magento\Framework\Composer\ComposerFactory->create()
#12 /home/storepaperco/public_html/vendor/magento/framework/Composer/ComposerInformation.php(381): Magento\Framework\Composer\ComposerInformation->getComposer()
#13 /home/storepaperco/public_html/vendor/magento/framework/Composer/ComposerInformation.php(244): Magento\Framework\Composer\ComposerInformation->getLocker()
#14 /home/storepaperco/public_html/vendor/magento/framework/App/ProductMetadata.php(120): Magento\Framework\Composer\ComposerInformation->getSystemPackages()
#15 /home/storepaperco/public_html/vendor/magento/framework/App/ProductMetadata.php(80): Magento\Framework\App\ProductMetadata->getSystemPackageVersion()
#16 /home/storepaperco/public_html/app/code/Amasty/Base/Model/MagentoVersion.php(46): Magento\Framework\App\ProductMetadata->getVersion()
#17 /home/storepaperco/public_html/app/code/Amasty/Shopby/Model/Layer/FilterList.php(107): Amasty\Base\Model\MagentoVersion->get()
#18 /home/storepaperco/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Amasty\Shopby\Model\Layer\FilterList->__construct(Object(Magento\Framework\App\ObjectManager), Object(Magento\Catalog\Model\Layer\Category\FilterableAttributeList), Object(Amasty\Base\Model\MagentoVersion), Object(Amasty\Shopby\Helper\FilterSetting), Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Registry), Object(Amasty\ShopbyBase\Model\ResourceModel\FilterSetting\CollectionExtendedFactory), Object(Amasty\Shopby\Model\Request), Object(Amasty\Shopby\Helper\Config), Object(Magento\Framework\View\Layout\Interceptor), Array, 'sidebar')
#19 /home/storepaperco/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Amasty\\Shopby\\M...', Array)
#20 /home/storepaperco/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('categoryFilterL...')
#21 /home/storepaperco/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(170): Magento\Framework\ObjectManager\ObjectManager->get('categoryFilterL...')
#22 /home/storepaperco/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Amasty\\Shopby\\M...', NULL, 'filterList', 'Amasty\\Shopby\\H...')
#23 /home/storepaperco/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Amasty\\Shopby\\H...', Array, Array)
#24 /home/storepaperco/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Amasty\\Shopby\\H...', Array, Array)
#25 /home/storepaperco/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Amasty\\Shopby\\H...', Array, Array)
#26 /home/storepaperco/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Amasty\\Shopby\\H...')
#27 /home/storepaperco/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(170): Magento\Framework\ObjectManager\ObjectManager->get('Amasty\\Shopby\\H...')
#28 /home/storepaperco/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Amasty\\Shopby\\H...', NULL, 'helper', 'Amasty\\Shopby\\P...')
#29 /home/storepaperco/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Amasty\\Shopby\\P...', Array, Array)
#30 /home/storepaperco/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Amasty\\Shopby\\P...', Array, Array)
#31 /home/storepaperco/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Amasty\\Shopby\\P...', Array, Array)
#32 /home/storepaperco/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Amasty\\Shopby\\P...')
#33 /home/storepaperco/public_html/vendor/magento/framework/Interception/PluginList/PluginList.php(174): Magento\Framework\ObjectManager\ObjectManager->get('Amasty\\Shopby\\P...')
#34 /home/storepaperco/public_html/vendor/magento/framework/Interception/Interceptor.php(119): Magento\Framework\Interception\PluginList\PluginList->getPlugin('Magento\\Catalog...', 'Amasty_Shopby::...')
#35 /home/storepaperco/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Category\View\Interceptor->Magento\Framework\Interception\{closure}()
#36 /home/storepaperco/public_html/generated/code/Magento/Catalog/Controller/Category/View/Interceptor.php(23): Magento\Catalog\Controller\Category\View\Interceptor->___callPlugins('execute', Array, Array)
#37 /home/storepaperco/public_html/vendor/magento/framework/App/Action/Action.php(111): Magento\Catalog\Controller\Category\View\Interceptor->execute()
#38 /home/storepaperco/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
#39 /home/storepaperco/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Controller\Category\View\Interceptor->___callParent('dispatch', Array)
#40 /home/storepaperco/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Category\View\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#41 /home/storepaperco/public_html/generated/code/Magento/Catalog/Controller/Category/View/Interceptor.php(32): Magento\Catalog\Controller\Category\View\Interceptor->___callPlugins('dispatch', Array, Array)
#42 /home/storepaperco/public_html/vendor/magento/framework/App/FrontController.php(245): Magento\Catalog\Controller\Category\View\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#43 /home/storepaperco/public_html/vendor/magento/framework/App/FrontController.php(212): Magento\Framework\App\FrontController->getActionResponse(Object(Magento\Catalog\Controller\Category\View\Interceptor), Object(Magento\Framework\App\Request\Http))
#44 /home/storepaperco/public_html/vendor/magento/framework/App/FrontController.php(147): Magento\Framework\App\FrontController->processRequest(Object(Magento\Framework\App\Request\Http), Object(Magento\Catalog\Controller\Category\View\Interceptor))
#45 /home/storepaperco/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#46 /home/storepaperco/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#47 /home/storepaperco/public_html/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(99): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#48 /home/storepaperco/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#49 /home/storepaperco/public_html/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(75): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#50 /home/storepaperco/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#51 /home/storepaperco/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#52 /home/storepaperco/public_html/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, NULL)
#53 /home/storepaperco/public_html/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#54 /home/storepaperco/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http->launch()
#55 /home/storepaperco/public_html/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->launch()
#56 /home/storepaperco/public_html/pub/index.php(30): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
#57 {main} in /home/storepaperco/public_html/vendor/composer/composer/src/Composer/Repository/ArrayRepository.php on line 28