I have installed a plugin to my wordpress site and suddenly I got the memory exhaust error. The complete error are list below. It would be nice if someone help me to resolve this.
Fatal error: Allowed memory size of 12345678 bytes exhausted (tried to allocate 2345678 bytes) in /home/your-username/public_html/wp-includes/plugin.php on line 1000
You need to increase the memory limit, you can do it by adding the WP_MEMORY_LIMIT to your wp-config.php file.
define('WP_MEMORY_LIMIT', '256M');
You can do the same on php.ini if you want. You need to add the following codes to your php.ini file.
memory_limit = 256M