IF you have created a new website with wordpress, things are going rignt but one day ...you open your website and see following lines in your website:
"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /home/xyz/public_html/abc/tuv/wp-includes/kses.php(1005) : runtime-created function on line 1"
Don't worry, it's very easy to resolve this problem, to solve your problem first login to your cpannel, or Hostgater account, or whatever web hosting control panel.
1. Try adding this line to your wp-config.php file:
define('WP_MEMORY_LIMIT', '64M');
2. If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 32M try 64M:
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
3. If you don't have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 64M
4. Talk to your host.

No comments:
Post a Comment