Fatal error: Allowed memory size of 67108864 bytes exhausted in Wordpress

Sometimes we found that error: Fatal error: the Allowed memory size of 67108864 bytes exhausted. Generally, we have the solution for this that can be attempted in the first try--
  • IN our wp-config.php (public_html/wp-config.php) add the below code.
  • define('WP_MEMORY_LIMIT', '64M');
  • In .htaccess file add the below code.
  • php_value memory_limit 64M
Most cases resolve our problem. BUT In Some cases, we got an error 505 internal server error. Also, I have seen this error: No need to worry--->> I have solved this error. You just need to have the files and folders excess to solve that. Go to wp-content -->> In this folder, you will see the ** themes, plugins, uploads and upgrade folders, etc. Just rename the folder and one by one and refresh your website. In my case, I have renamed the PLugin folder. That resolves the problem. After that, I found the plugin which caused the problem Just deactivate that and you are all set..!!! Try renaming themes folder etc. if still found an error All set.....!!!