PHP Fatal error: Allowed memory size exhausted

Error on WordPress:

There has been a critical error on your website. Please check your site admin email inbox for instructions

Error in WordPress logs:

PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 53300 bytes) in /home/wpcd/public_html/website.com/wp-includes/functions.php on line 616

Solution:

Check which version of PHP your host is using and update to the latest and see if that helps

on cPanel click Select PHP Version

Select a newer PHP version

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Malcare WordPress Security