WordPress.org

Support

Support » How-To and Troubleshooting » fatal error: allowed memory size …

fatal error: allowed memory size …

  • arctork
    Member

    @arctork

    Hi,

    I am getting the following error when clicking on certain categories generated by the following code.

    ERROR:
    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 11 bytes) in /domain/path/wp-includes/functions.php on line 1418

    AND
    atal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 5 bytes) in /domain/path/wp-includes/cache.php on line 11

    CODE:
    <?php wp_list_cats(‘exclude=13’); ?>

    Does anyone know why? Or have any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Chris_K
    Member

    @handysolo

    That error would seem to indicate that your PHP process is exceeding its currently configured 8MB max.

    Two options that I’m aware of:

    1) See if disabling a plugin or two helps reduce consumption

    2) Ask your host to have it increased.
    2.5) Wait for one of the clever folks to wander by who know what to add to an .htaccess to override the php.ini settings.

    arctork
    Member

    @arctork

    Thanks … Is that consistent with it only not working on certain categories. If I click other categories it works … but there are 3 specific categories where I get that error?

    Chris_K
    Member

    @handysolo

    arctork, I honestly don’t know. What sorts of plugins are you running?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘fatal error: allowed memory size …’ is closed to new replies.