Hello Everyone, Welcome.
Today We will learn how to fix the WordPress Allowed Memory Size Problem. So let’s Started
- Login to Your Website cPanel.
- Click on File Manager.
- Go to wp-includes
- Find the File name “default-constants.php”.
- Then Right Click on it and Click on Edit.
- In-Line Number 39 and 41 content your Allowed Memory Size.
if ( ! defined( 'WP_MEMORY_LIMIT' ) ) { if ( false === wp_is_ini_value_changeable( 'memory_limit' ) ) { define( 'WP_MEMORY_LIMIT', $current_limit ); } elseif ( is_multisite() ) { define( 'WP_MEMORY_LIMIT', '64M' ); } else { define( 'WP_MEMORY_LIMIT', '40M' ); } }
- Change the 64M to 512M
- and Change the 40M to 256M
- Save the File.
- Now Reload the Website.
So Here it is We have Fix the Problem. Thank You for Be With Us. Have a Good Day. If you Face Any Problem. Please write down in the Comment Box.