• Resolved wrathchild

    (@wrathchild)


    I am suddenly getting an error when publishing a post:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16384 bytes) in /server-path/public_html/wp-includes/taxonomy.php on line 838

Viewing 5 replies - 1 through 5 (of 5 total)
  • I could be wrong, but I believe you’re trying to make a post that is larger than WP will allow. Is it a particularly lengthy post?

    The search function comes in very handy for often asked questions like this.

    Try increasing your php memory…
    (copy and paste of one of MichaelH’s answers below…)

    1. 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)

    2. If you don’t have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M

    3. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define(‘WP_MEMORY_LIMIT’, ’64M’);

    4. Talk to your host.

    Thread Starter wrathchild

    (@wrathchild)

    It’s not a particularly lengthy post, no. Probably not even a hundred words, minimal formatting and one image link. Nothing exotic about it at all, except perhaps I (originally) used more tags than usual.

    I did use the search function and came up empty, otherwise I wouldn’t have posted. A web search for “taxonomy.php on line 838” did find a bunch of sites that apparently are having the same problem.

    I will, however, look to implement your suggestions.

    Thread Starter wrathchild

    (@wrathchild)

    I added and changed PHP.ini to a 64M limit, and the error has gone away.

    Thanks for the help.

    I’m having the same problem.
    Where do I find the php.ini document?

    (I’m using WP 2.8.)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘error: taxonomy.php line 838’ is closed to new replies.