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/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/composer/composer/src/Composer/Repository/ArrayRepository.php on line 277 in /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/App/ErrorHandler.php:61
Stack trace:
#0 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/composer/composer/src/Composer/Repository/ArrayRepository.php(28): Magento\Framework\App\ErrorHandler->handler()
#1 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/composer/ClassLoader.php(478): include('...')
#2 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile()
#3 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/composer/composer/src/Composer/Repository/PlatformRepository.php(31): Composer\Autoload\ClassLoader->loadClass()
#4 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/composer/ClassLoader.php(478): include('...')
#5 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile()
#6 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/composer/composer/src/Composer/Package/Loader/ValidatingArrayLoader.php(375): Composer\Autoload\ClassLoader->loadClass()
#7 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/composer/composer/src/Composer/Package/Loader/RootPackageLoader.php(70): Composer\Package\Loader\ValidatingArrayLoader::hasPackageNamingError()
#8 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/composer/composer/src/Composer/Factory.php(368): Composer\Package\Loader\RootPackageLoader->load()
#9 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/composer/composer/src/Composer/Factory.php(595): Composer\Factory->createComposer()
#10 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/Composer/ComposerFactory.php(47): Composer\Factory::create()
#11 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/Composer/ComposerInformation.php(368): Magento\Framework\Composer\ComposerFactory->create()
#12 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/Composer/ComposerInformation.php(381): Magento\Framework\Composer\ComposerInformation->getComposer()
#13 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/Composer/ComposerInformation.php(244): Magento\Framework\Composer\ComposerInformation->getLocker()
#14 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/App/ProductMetadata.php(120): Magento\Framework\Composer\ComposerInformation->getSystemPackages()
#15 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/App/ProductMetadata.php(80): Magento\Framework\App\ProductMetadata->getSystemPackageVersion()
#16 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/app/code/Best4Mage/CPTP/Helper/Data.php(164): Magento\Framework\App\ProductMetadata->getVersion()
#17 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/app/code/Best4Mage/CPTP/Plugin/Pricing/Render/TierPriceBox.php(56): Best4Mage\CPTP\Helper\Data->getMagentoVersion()
#18 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/Interception/Interceptor.php(121): Best4Mage\CPTP\Plugin\Pricing\Render\TierPriceBox->beforeSetTemplate()
#19 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/Interception/Interceptor.php(153): Magento\ConfigurableProduct\Pricing\Render\TierPriceBox\Interceptor->Magento\Framework\Interception\{closure}()
#20 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/generated/code/Magento/ConfigurableProduct/Pricing/Render/TierPriceBox/Interceptor.php(32): Magento\ConfigurableProduct\Pricing\Render\TierPriceBox\Interceptor->___callPlugins()
#21 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/Pricing/Render/RendererPool.php(85): Magento\ConfigurableProduct\Pricing\Render\TierPriceBox\Interceptor->setTemplate()
#22 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/Pricing/Render.php(96): Magento\Framework\Pricing\Render\RendererPool->createPriceRender()
#23 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/module-catalog/Pricing/Render.php(60): Magento\Framework\Pricing\Render->render()
#24 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Element/AbstractBlock.php(1095): Magento\Catalog\Pricing\Render->_toHtml()
#25 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Element/AbstractBlock.php(1099): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}()
#26 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Element/AbstractBlock.php(660): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#27 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(578): Magento\Framework\View\Element\AbstractBlock->toHtml()
#28 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock()
#29 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement()
#30 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement()
#31 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#32 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement()
#33 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement()
#34 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#35 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement()
#36 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement()
#37 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#38 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement()
#39 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement()
#40 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#41 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement()
#42 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement()
#43 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#44 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement()
#45 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement()
#46 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#47 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement()
#48 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement()
#49 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#50 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement()
#51 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Layout.php(975): Magento\Framework\View\Layout->renderElement()
#52 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput()
#53 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent()
#54 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}()
#55 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/generated/code/Magento/Framework/View/Layout/Interceptor.php(41): Magento\Framework\View\Layout\Interceptor->___callPlugins()
#56 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Result/Page.php(260): Magento\Framework\View\Layout\Interceptor->getOutput()
#57 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render()
#58 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult()
#59 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent()
#60 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}()
#61 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(23): Magento\Framework\View\Result\Page\Interceptor->___callPlugins()
#62 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/App/Http.php(120): Magento\Framework\View\Result\Page\Interceptor->renderResult()
#63 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http->launch()
#64 /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/pub/index.php(30): Magento\Framework\App\Bootstrap->run()
#65 {main} in /var/www/vhosts/best4mage-demo.com/httpdocs/m2-cptp/vendor/composer/composer/src/Composer/Repository/ArrayRepository.php on line 28