Skip to content

magento2.4.2

Auto Added by WPeMatico

How can I add custom method for MagentoEmailModelAbstractTemplate?

I need to replace the method of getting the link this.getURL() with my custom method this.customMethod() in the confirmation email of the user during registration. I have created a module: registration.php <?php MagentoFrameworkComponentComponentRegistrar::register( MagentoFrameworkComponentComponentRegistrar::MODULE, ‘MyModules_Email’, __DIR__ ); etc/module.xml <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”… Read More »How can I add custom method for MagentoEmailModelAbstractTemplate?

Elasticsearch BadRequest400Exception Error : main.CRITICAL: {“error”:{“root_cause”:[{“type”:”illegal_argument_exception”,”reason”

I have a problem I am using Magento 4.2.4 and Elasticsearch 6 and this message appears can anyone help me to solve it. main.CRITICAL: {“error”:{“root_cause”:[{“type”:”illegal_argument_exception”,”reason”:”request [/magento2_product_2/product/_search] contains unrecognized parameter: [cat]”}],”type”:”illegal_argument_exception”,”reason”:”request [/magento2_product_2/product/_search] contains unrecognized parameter: [cat]”},”status”:400} {“exception”:”[object] (Elasticsearch\Common\Exceptions\BadRequest400Exception(code: 400): {“error”:{“root_cause”:[{“type”:”illegal_argument_exception”,”reason”:”request [/magento2_product_2/product/_search]… Read More »Elasticsearch BadRequest400Exception Error : main.CRITICAL: {“error”:{“root_cause”:[{“type”:”illegal_argument_exception”,”reason”

Magento 2: Cloud project composer install error module-staging-page-builder (2.2.0): Downloading (failed)

I have facing error in composer install in cloud project. Issue is facing in module-staging-page-builder module Downloading (failed). Command composer install Error: Installing magento/module-staging-page-builder (2.2.0): Downloading (failed) [ComposerDownloaderTransportException] The “https://repo.magento.com/archives/magento/module-staging-page-builder/magento-module-staging-page-builder-2.2.0.0.zip” file could not be downloaded (HTTP/1.1 404 Not Found) install… Read More »Magento 2: Cloud project composer install error module-staging-page-builder (2.2.0): Downloading (failed)