Fatal Error: Allowed Memory Size of xxxx Bytes Exhausted
If you are facing this issue, you can try increasing the memory limit. However, the first thing that we recommend is trying to review if t..
Magento 2.x – Add a CMS page entry through a database query without issues
With the following script, you will be able to add a new CMS page, withouth dealing with indexes or sequences problems.
Hope it helps.
..
Magento 2.x – How to restore an order from cancelled to processing with an script
As we know, a cancelled order cannot be restored with the default Magento order flow. But, if you need to perform that for a particular ne..
How to Switch Between Composer Version 1 and 2
Sometimes when working with different projects, you might need to change frecuently between different composer versions. To get that as a ..
After Upgrading to Magento 2.4.3 the pagination is not working anymore
If you recently upgraded your Magento installation to 2.4.3 version, and the pagination on category and search pages is not working anymor..
Magento 2.x – Customer session not working – not getting customer logged in data
Hi there,
If you trying to get customer logged in data in your Magento 2 module, and for any reason this is not working, retriving null..
How to export a mysql CLI query into a csv file
if you are trying to export your query into a csv file to share it or just analyze any data, you can perform the following CLI command:
..
Magento 2.x – Add log within one single line of code
If you are trying to debug in a remote server, or just want to temporary add a debug message. Then the following snippet would help you, a..
Magento 2.x – Import customers csv with encrypted passwords
Hi there,
If you are trying to import customers with an assigned password, or just modify a customer password trough the Magento csv im..
Magento 2.4.3 upgrade – fix Integrity constraint violation: 1062 Duplicate entry for key ‘PRIMARY’, query was: ALTER TABLE `catalog_url_rewrite_product_category` ADD CONSTRAINT PRIMARY KEY (`url_rewrite_id`) – error message on setup:upgrade
Hi there,
If you are trying to update your store the last Magento version (once this post was written 2.4.3 is latest), and you are get..