• Hello everyone, I just installed wordpress on my site http://www.lovephils.com..
    and when I load the site I am getting this error:
    Fatal error: Out of memory (allocated 13107200) (tried to allocate 30720 bytes) in /home/jalmgren/public_html/wp-includes/comment-template.php on line 1857

    and if I try to go to/wp-admin I get this error :

    Fatal error: Out of memory (allocated 13107200) (tried to allocate 30720 bytes) in /home/jalmgren/public_html/wp-includes/comment-template.php on line 1236

    How can I fix this?
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    try increasing memory available for php.

    First open your wp-config.php which is located in the root WordPress directory. Then add the following line inside the main php tag:

    define('WP_MEMORY_LIMIT', '64M');

    If you still get the error after this fix, then please contact your host.

    Thread Starter Jral87

    (@jral87)

    Ok I tried that and it didn’t work. by the way when it says (allocated 13107200) (tried to allocate 30720 bytes) oesn’t that say there is enough but for some other reason it’s not working?

    If not working, make it 32M.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error’ is closed to new replies.