Fixing "Allowed memory size exhausted"
Raise the PHP memory limit for WordPress.
This error means a page needed more memory than PHP allows.
- In cPanel, open MultiPHP INI Editor (or Select PHP Version → Options) and raise
memory_limit, for example to256M. - Optionally, add this line to
wp-config.phpabove the line that says "That's all, stop editing":
define( 'WP_MEMORY_LIMIT', '256M' );- Reload the page.
If the error keeps coming back with higher limits, a plugin is probably misbehaving. Find it the way described in Fixing the white screen.