Hello Everyone, Welcome.

 

Today We will learn how to fix the WordPress Allowed Memory Size Problem. So let’s Started

  1. Login to Your Website cPanel.
  2. Click on File Manager.
  3. Go to wp-includes
  4. Find the File name “default-constants.php”.
  5. Then Right Click on it and Click on Edit.
  6. 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' );
		}
	}
  1. Change the 64M to 512M
  2. and Change the 40M to 256M
  3. Save the File.
  4. 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.