WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] error: taxonomy.php line 838 (6 posts)

  1. wrathchild
    Member
    Posted 4 years ago #

    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

  2. NihiliAeternum
    Member
    Posted 4 years ago #

    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?

  3. alism
    Member
    Posted 4 years ago #

    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.

  4. wrathchild
    Member
    Posted 4 years ago #

    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.

  5. wrathchild
    Member
    Posted 4 years ago #

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

    Thanks for the help.

  6. tuike
    Member
    Posted 4 years ago #

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

    (I'm using WP 2.8.)

Topic Closed

This topic has been closed to new replies.

About this Topic