Skip to content

magento man

Exception log errors (The element “order_totals” can’t have a child because “order_totals” already has a child with alias)

Trying to clean up my logs and I keep getting this error over and over in my exception logs. [2022-12-27 20:07:39] report.CRITICAL: The element “order_totals” can’t have a child because “order_totals” already has a child with alias “ltl_shipping_fee”. {“exception”:”[object] (Magento\Framework\Exception\LocalizedException(code:… Read More »Exception log errors (The element “order_totals” can’t have a child because “order_totals” already has a child with alias)

Custom Customer Address field not passing validation

I’ve added a custom field to the Customer Addresses with the following UpgradeData: public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { /** @var CustomerSetup $customerSetup */ $customerSetup = $this->customerSetupFactory->create([‘setup’ => $setup]); $params = [ ‘label’ => ‘House Number’, ‘type’ => ‘varchar’,… Read More »Custom Customer Address field not passing validation

Speeding Magento 2

I am running a magento 2.4.5 in production mode The settings in admin are as follows: Minify Html: Yes Merge JavaScript Files: Yes Enable JavaScript Bundling: Yes Minify JavaScript Files: Yes Merge CSS Files: Yes Minify CSS Files: Yes Any… Read More »Speeding Magento 2

PHP Fatal error: During inheritance of JsonSerializable: Uncaught Exception: Deprecated Functionality:

After Magento Upgrade in latest version showing error under third party module PHP Fatal error: During inheritance of JsonSerializable: Uncaught Exception: Deprecated Functionality: Return type of AheadworksRbsliderUiComponentMassActionBannerOptions::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[ReturnTypeWillChange] attribute should be… Read More »PHP Fatal error: During inheritance of JsonSerializable: Uncaught Exception: Deprecated Functionality:

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