Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1102132

    Hi team, I need your help with making this demo import work Please! Checked the memory limits – here’s the code:

    // Define memory limits.
    	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', '128M' );
    		} else {
    			define( 'WP_MEMORY_LIMIT', '64M' );
    		}
    	}
    
    	if ( ! defined( 'WP_MAX_MEMORY_LIMIT' ) ) {
    		if ( false === wp_is_ini_value_changeable( 'memory_limit' ) ) {
    			define( 'WP_MAX_MEMORY_LIMIT', $current_limit );
    		} elseif ( -1 === $current_limit_int || $current_limit_int > 268435456 /* = 256M */ ) {
    			define( 'WP_MAX_MEMORY_LIMIT', $current_limit );
    		} else {
    			define( 'WP_MAX_MEMORY_LIMIT', '256M' );
    		}
    	}
    #1102232

    Hey artemrepin,

    There is also a manual import option, here are our docs:

    Best regards,
    Victoria

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.