• Resolved musbkc

    (@musbkc)


    Please help me out here. I have two sites that are broken due to this issue!

    Thanks . . .

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 7680 bytes) in /home/worships/public_html/wp-admin/includes/template.php on line 1876

    kcjulieclark.com
    worshipstaffing.com
    mycrossroads.co/beta/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Looks like you’ve fixed one of them.

    Try deactivating all of your plugins to explore whether any could be responsible.

    Hi,

    Please try following suggestions:

    1. Try adding this line to your wp-config.php file:
    define(‘WP_MEMORY_LIMIT’, ‘128M’);

    2. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 128M:
    memory_limit = 128M ; Maximum amount of memory a script may consume (128M)

    If you do not access to php.ini, contact your webhost they will help you to raise the php memory limit.

    Thanks,

    Thread Starter musbkc

    (@musbkc)

    hey @andrew I think that worked . . . i disabled several plug-ins and it fixed the issue.

    THanks
    KC

    Accuwebhosting, where in the wp-config.php file would I add that line? I need to do that for my site as well, but have no idea where the right location is to insert it!

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