I have upgraded Magento 2 E.E 2.3.5 to Magento 2 E.E 2.4.3. But after the upgrade frontend forms are not submitted. Add to cart, Signup, Login, Newsletter. Even I created a sample test form. That is also not submitting. But Form GET is submitted. Form POST is not submitted. I don't want to increase 'memory_limit' value. Because I have the same M2 Version in a different project and that is working there
I am getting this error
Fatal error: Allowed memory size of 792723456 bytes exhausted (tried to allocate 994004992 bytes) in /vendor/magento/framework/DB/Statement/Pdo/Mysql.php on line 91
You can increase the memory limit from:
php.ini file and
another option is if your server has such a setting then you can do so from your server option as well.
@mymilestonecard wrote:I have upgraded Magento 2 E.E 2.3.5 to Magento 2 E.E 2.4.3. But after the upgrade frontend forms are not submitted. Add to cart, Signup, Login, Newsletter. Even I created a sample test form. That is also not submitting. But Form GET is submitted. Form POST is not submitted. I don't want to increase 'memory_limit' value. Because I have the same M2 Version in a different project and that is working there
I am getting this error
Fatal error: Allowed memory size of 792723456 bytes exhausted (tried to allocate 994004992 bytes) in /vendor/magento/framework/DB/Statement/Pdo/Mysql.php on line 91
Fatal error: Allowed memory size of 792723456 bytes exhausted (tried to allocate 262144 bytes) in C:\XAMPP\htdocs\magento4\vendor\magento\module-store\Model\Config\Placeholder.php on line 146
Hi when trying to start magento 2 for the first time I get this error i tried changing the memory size in php.ini (XAMPP), in htaccess and also in the root folder of magento. I also tried fixing it in cli but i still get the error
Please try to Run the following commands
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy php bin/magento setup:di:compile php bin/magento cache:flush php bin/magento cache:clean /*To Run Command Forcefully */ php -f bin/magento /*To run command with memory limit 4G*/ php -d memory_limit=4G bin/magento /*To run command with max memory limit */ php -d memory_limit=-1 bin/magento
Hey @ankurkinex,
I have seen your query. This blog might helpful to you. Please refer to this blog: https://magecomp.com/blog/fixed-php-fatal-error-allowed-memory-size-magento-2/
Hope this helps you.
Thank you.