Constant WP_MEMORY_LIMIT already defined in wp-config.php on line 130

Home Forums BulletProof Security Pro Constant WP_MEMORY_LIMIT already defined in wp-config.php on line 130

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #41832
    AITpro Admin
    Keymaster

    This problem is caused by a Theme that added this WP code/constant:  define('WP_MEMORY_LIMIT', '512M'); at the bottom of the wp-config.php file after the require_once(ABSPATH . 'wp-settings.php'); code in the wp-config.php file. No code is supposed to go after this line of code in the wp-config.php file. All custom code in the wp-config.php file needs to be above this line of code.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.