My site became super slow since yesterday. I can not find out which extension causes this. I thought it might because of the weltpixel Google Tag Manager, i disabled it. run setup:upgrade; setup di:compile; s:s:d, but the site is still very slow. this is the request that makes the site […]
Magento1
I upgraded to magento 2.3.3 but didn’t noticed that they changed email classes and zend framework. I am having a custom module for editing emails in magento admin. But I am having error: FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Class ‘Zend_Reflection_Class’ not found in myfile.php […]
I have a custom eav attribute on a product that is a of type dropdown. When the product is saved, the attribute is saved as the optionId. How do I get its label to be able to display it properly on the frontend. Note: I do not want to load […]
Magento 2.2 How to redirect to homepage on store view switch? I have a multilingual site and want to redirect to homepage every time the store view change. Thanks!
I am trying to get a magento customer increment ID. I’m thinking I have to use the resource-model class just not sure what the best way to access it is or how to get it. public function __construct( MagentoCustomerApiCustomerRepositoryInterface $customerRepositoryInterface, MagentoCustomerModelResourceModelCustomer $resourceModel, ) { parent::__construct(); $this->customerRepo = $customerRepositoryInterface; $this->customerResource = […]
I am working on a magento project. it was working fine till today.but today when i open it its not working and following error is coming in error log PHP Fatal error: Uncaught TypeError: Argument 1 passed to MagentoCatalogModelResourceModelProductCollection::addIsSaleableAttributeToFilter() must be of the type array or null, integer given, called […]
I have followed the below link and added authentication for Bitnami Magento 2.3.2 development site which is in AWS Lightsail. https://docs.bitnami.com/bch/apps/magento/administration/use-htpasswd/ I have created htpasswd and magento_users using, cd /opt/bitnami apache2/bin/htpasswd -cb apache2/magento_users USERNAME PASSWORD``` Also I have added the below code in /opt/bitnami/apps/magento/conf/httpd-app.conf ... AuthType Basic AuthName MyAuthName AuthUserFile […]
In Magento version 2.3.2 and 2.3.3, in a UI form, I have a field element input, of type price*: price Price price false true Looks like this: Here, I found documentation for field types, from UI form. I want the price in that field to be displayed with two decimal […]