Skip to content

magento man

Use Custom Module collection in other custom Module magento 2

I want collection of one module in other module. I am doing it like use TestCompanyAddressesModelCompanyAddressFactory; class ReformatTelephoneField implements DataPatchInterface { protected $companyAddressFactory; /** * @param CompanyAddressFactory $companyAddressFactory */ public function __construct( CompanyAddressFactory $companyAddressFactory ) { $this->companyAddressFactory = $companyAddressFactory; }… Read More »Use Custom Module collection in other custom Module magento 2

Magento 2.4.3: Getting “Invalid state change requested” error message on checkout page when persistant cart is enabled

I am getting the error Invalid state change requested when trying to place the order with persistent shopping cart, order places even though error is shown and it causes duplicate order issue(Customer places order again without knowing order is already… Read More »Magento 2.4.3: Getting “Invalid state change requested” error message on checkout page when persistant cart is enabled

Unable to update Amasty’s extensions due to ‘require magento/module-payment-services-saas-export 1.4.*’ Error

Magento 2.4-p1 Smartwave Porto 13 Amasty extensions I am having terrible problems with extensions from Amasty. Now I need to untick/uncheck the ‘Billing address is same as Shipping address’ and I can’t do that due to Amasty’s extensions changed the… Read More »Unable to update Amasty’s extensions due to ‘require magento/module-payment-services-saas-export 1.4.*’ Error

Randomly receiving this error (Magic request methods require a URI and optional options array) In magento 2.4.5-p1

Below error occurs randomly while navigating to the checkout page Magic request methods require a URI and optional options array in vendor/magento/framework/Webapi/ErrorProcessor.php:208 Stack trace: #0 vendor/magento/framework/Webapi/ErrorProcessor.php(153): MagentoFrameworkWebapiErrorProcessor->_critical(Object(GuzzleHttpExceptionInvalidArgumentException)) #1 vendor/magento/module-webapi/Controller/Rest.php(197): MagentoFrameworkWebapiErrorProcessor->maskException(Object(GuzzleHttpExceptionInvalidArgumentException)) #2 vendor/magento/framework/Interception/Interceptor.php(58): MagentoWebapiControllerRest->dispatch(Object(MagentoFrameworkAppRequestHttp)) #3 vendor/magento/framework/Interception/Interceptor.php(138): MagentoWebapiControllerRestInterceptor->___callParent(‘dispatch’, Array) #4 vendor/fastly/magento2/Model/FrontControllerPlugin.php(135): MagentoWebapiControllerRestInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))… Read More »Randomly receiving this error (Magic request methods require a URI and optional options array) In magento 2.4.5-p1