I start to see this error message below saying the Default store is inactive, but my stores are working fine, how could I solve it? [2023-02-21T19:23:08.544484+00:00] report.ERROR: Default store is inactive [] [] [2023-02-21T19:23:08.548645+00:00] report.CRITICAL: MagentoFrameworkExceptionNoSuchEntityException: Default store is inactive in /app/vendor/magento/module-store/Model/StoreResolver.php:183 Stack trace: #0 /app/vendor/magento/module-store/Model/StoreResolver.php(126): MagentoStoreModelStoreResolver->getDefaultStoreById('3') #1 /app/vendor/magento/framework/Interception/Interceptor.php(58): MagentoStoreModelStoreResolver->getCurrentStoreId() […]
Magento
I’m using ElasticSuite and suddenly this message below appeared. What’s ghost indices and how can I avoid having them?
My Adobe Commerce was running fine, but after the upgrade, I can see via New Relic that it takes more time to process queries. I tried to upgrade my MariaDB to versions 10.4 and 10.6. Is there any additional config needed when upgrading to Adobe Commerce 2.4.6?
In magento 2 I am trying to update session_cutoff column in table customer_entity during login Below is my code which I add in observer using event customer_login public function execute(MagentoFrameworkEventObserver $observer) { $this->_customerSession->setGTMSuccessfulLogin($this->helper->successfulLoginPushData()); $customer_data = $observer->getEvent()->getCustomer(); $gtrustCustNo = $customer_data->getData('gtrust_custno'); $param = array('custNo' => $gtrustCustNo); $result = $this->_gtrustApiHelper->getUserBenefit(($param)); $customer = $this->customerFactory->create(); […]
I want to enable remote shopping assistance when a new customer account is created: Any help would be appreciated.
I am facing an issue. I want to show “use default values” on all store view in special price from and to fields only. Suppose I have a website with two stores. “use default values” check boxes are shown fine when I select individual stores but when I select ” […]
I’m trying to create a custom price type in Magento. And for that I’ve created a custom attribute to a product. And I’ve added this price type to MagentoCatalogPricingPricePool like below in my di.xml file <virtualType name="MagentoCatalogPricingPricePool" type="MagentoFrameworkPricingPricePool"> <arguments> <argument name="prices" xsi:type="array"> <item name="pre_order_price" xsi:type="string">MyVendorPreOrderPricingPricePreOrderPrice</item> </argument> </arguments> </virtualType> After that […]
I am using messageManager to show message after redirecting to the controller for adminhtml. It is working fine for the Role Administrator, but the message is not displaying for the website admin users. I tried many solutions over the magento stack but they didn’t help. I am using below code: […]
There is some possibility of putting the mandatory CIF/NIF field depending on whether the client chooses one country or another at checkout. For example, if the client selects Spain NIF/CIF it is not mandatory but if he chooses USA the NIF/CIF field is mandatory. Thank you 🙂