Title: PHP errors during an Ajax request\WP_MEMORY_LIMIT
Last modified: April 3, 2020

---

# PHP errors during an Ajax request\WP_MEMORY_LIMIT

 *  [koshkayponchik](https://wordpress.org/support/users/koshkayponchik/)
 * (@koshkayponchik)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-errors-during-an-ajax-requestwp_memory_limit/)
 * Hello,
 * after updating to the latest wp version my website is not responding and I got
   a “critical error” in php code. The plugin “Query Monitor” shows that the error
   is in the wp_config.php and it says “Constant WP_MEMORY_LIMIT already defined”.
   In the code I see “wp-config.php:96
    define() wp-config.php:96” any ideas? The
   website is running on the Astra theme + elementor. It is organised like so: astra
   theme-> astra child theme actevated->elementor pro plugin for website building.
   When I swotch to “hestia theme” or “neve” theme the website works, but I don’t
   really want to adjust it from scratch again to one of these themes, it’s a lot
   of work. Any ideas how to fix this bug?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-errors-during-an-ajax-requestwp_memory_limit%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [swayam.tejwani](https://wordpress.org/support/users/swayamtejwani/)
 * (@swayamtejwani)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-errors-during-an-ajax-requestwp_memory_limit/#post-12623262)
 * Hi there, by doing a quick search I found a post over here [https://wordpress.org/support/topic/memory-exhausted-tenacious-bug/](https://wordpress.org/support/topic/memory-exhausted-tenacious-bug/)
   which tells a fix.
    You can try and check if you can manage to fix it ?

Viewing 1 replies (of 1 total)

The topic ‘PHP errors during an Ajax request\WP_MEMORY_LIMIT’ is closed to new replies.

## Tags

 * [ElementorPro](https://wordpress.org/support/topic-tag/elementorpro/)
 * [PHPError](https://wordpress.org/support/topic-tag/phperror/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [swayam.tejwani](https://wordpress.org/support/users/swayamtejwani/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/php-errors-during-an-ajax-requestwp_memory_limit/#post-12623262)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
