Today, one of my client asked me about an issue what he was facing. While logging in wordpress dashboard he was seeing HTTP 500 Internal Server Error.
To solve the issue, I checked by Disabling some plugins and found this error
Fatal error: Out of memory (allocated 115867648) (tried to allocate 32 bytes) in /home4/doxxxxx/xxxx.com/wp-content/plugins/snax/includes/formats/meme/settings.php on line 54
Also, I checked by making WP_DEBUG value to True in wp-config.php but didn’t get any culprit plugins which is causing this.
Also, in wp-config.php I tried to increase the php memory limit by adding these 2 lines of code but that didn’t help either.
So, the way I solved the issue by changing the php version of the cpanel using in the host.
Go to your cpanel and then click on PHP Selector
Then Upgrade the version ( in my case I upgraded the PHP version from 5.6 to 7) and save it
Done. The issue should be solved 🙂