Skip to content

magento man

Error after upgrading Magento 2.4.3 to 2.4.5 match

syntax error, unexpected token “match”, expecting variable#0 /httpdocs/tienda/vendor/composer/ClassLoader.php(432): ComposerAutoloadClassLoader::ComposerAutoload{closure}() #1 [internal function]: ComposerAutoloadClassLoader->loadClass() #2 /httpdocs/tienda/vendor/magento/framework/ObjectManager/Relations/Runtime.php(38): class_exists() #3 /httpdocs/tienda/vendor/magento/framework/Interception/Config/Config.php(157): MagentoFrameworkObjectManagerRelationsRuntime->has() #4 /httpdocs/tienda/vendor/magento/framework/Interception/Config/Config.php(180): MagentoFrameworkInterceptionConfigConfig->_inheritInterception() #5 /httpdocs/tienda/vendor/magento/framework/Interception/Config/Config.php(213): MagentoFrameworkInterceptionConfigConfig->hasPlugins() #6 /httpdocs/tienda/vendor/magento/framework/Interception/Config/Config.php(190): MagentoFrameworkInterceptionConfigConfig->generateIntercepted() #7 /httpdocs/tienda/vendor/magento/framework/Interception/Config/Config.php(122): MagentoFrameworkInterceptionConfigConfig->initializeUncompiled() #8 /httpdocs/tienda/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): MagentoFrameworkInterceptionConfigConfig->__construct() #9 /httpdocs/tienda/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() #10 /httpdocs/tienda/vendor/magento/framework/ObjectManager/ObjectManager.php(70): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create()… Read More »Error after upgrading Magento 2.4.3 to 2.4.5 match

Magento 2.4 Error flushing Varnish server. Host: “127.0.0.1”. PURGE response code: 501 message: Not Implemented

We are using Magento 2.4.5-p1 and PHP 8.1 versions. When we are running upgrade commands getting an issue of – Error flushing Varnish server. Host: “127.0.0.1”. PURGE response code: 501 message: Not Implemented Does Anyone know how to resolve this… Read More »Magento 2.4 Error flushing Varnish server. Host: “127.0.0.1”. PURGE response code: 501 message: Not Implemented

Update price progrmmatically

I’m trying to update the price for configurable product programmatically. But the price is not updating. Also I’m getting integrity constrain error when the sku is not assigned. if($proType == ‘configurable’) { $conf_product = $this->productRepository->get($sku); //echo $conf_product->getId(); exit; $conf_product =… Read More »Update price progrmmatically