Results 1 to 10 of 10

Thread: wordpress fatal error (need help)

  1. #1
    SonnyCooL's Avatar
    SonnyCooL is offline HeeHa
    Join Date
    Jan 2010
    Location
    Melb/Malaysia
    Posts
    920
    Thanks
    250
    Thanked 92 Times in 78 Posts

    wordpress fatal error (need help)

    Guy i just received a fatal error when i try to do mass delete (plugin), it was ok for month, everything just happen today ...

    error code :
    Code:
    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 71 bytes) in /home/***/domains/***********.com/public_html/wp-includes/taxonomy.php on line 1961
    anyone can help ? sorry i'm noob in code

  2. #2
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,327 Times in 1,258 Posts
    That error is normally something for your hosting company to fix, by raising the amount of RAM available to a PHP process.

    This is from my own /etc/php5/apache2/php.ini file:
    Code:
    memory_limit = 1024M      ; Maximum amount of memory a script may consume
    You might be able to edit your own PHP memory_limit by placing this line in your .htaccess file:
    Code:
    php_value memory_limit 1024M
    This plugin appears to be asking for more than 536,870,912 bytes of RAM. Can you try to a less massive delete?
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  3. Thanked by:

    SonnyCooL (19 August, 2010)

  4. #3
    SonnyCooL's Avatar
    SonnyCooL is offline HeeHa
    Join Date
    Jan 2010
    Location
    Melb/Malaysia
    Posts
    920
    Thanks
    250
    Thanked 92 Times in 78 Posts
    Quote Originally Posted by Will.Spencer View Post
    That error is normally something for your hosting company to fix, by raising the amount of RAM available to a PHP process.

    This is from my own /etc/php5/apache2/php.ini file:
    Code:
    memory_limit = 1024M      ; Maximum amount of memory a script may consume
    You might be able to edit your own PHP memory_limit by placing this line in your .htaccess file:
    Code:
    php_value memory_limit 1024M
    This plugin appears to be asking for more than 536,870,912 bytes of RAM. Can you try to a less massive delete?
    yah i try less but still same error, i think error cause by huge data increase .... previous without issue is 170k post, with issue is 190k post .....

    thanks i try to ask my host to increase the ram limit ....
    can i ask why my host restrict ram usage ? i'm on dedi with 8gb ram, is that possible wordpress original limit ???

    thanks

  5. #4
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,327 Times in 1,258 Posts
    Quote Originally Posted by SonnyCooL View Post
    can i ask why my host restrict ram usage ?
    It's a PHP limit to prevent one PHP process from utilizing all of the resources on the system. It looks like your host set this to 512M, which is a lot more than the default setting of 16M.
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  6. Thanked by:

    SonnyCooL (19 August, 2010)

  7. #5
    SonnyCooL's Avatar
    SonnyCooL is offline HeeHa
    Join Date
    Jan 2010
    Location
    Melb/Malaysia
    Posts
    920
    Thanks
    250
    Thanked 92 Times in 78 Posts
    i increase the limit to 638mb with
    #-------------------
    php_value memory_limit 32M
    #-------------------

    in my htaccess, the error msg disappear but the script stop halfway (blank page) without delete anything ...

    any issue with the code ? or the plugin ???

  8. #6
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,327 Times in 1,258 Posts
    Quote Originally Posted by SonnyCooL View Post
    i increase the limit to 638mb with
    #-------------------
    php_value memory_limit 32M
    #-------------------
    Umm... 32 is a lot less than 638.

    Plus, php_value memory_limit may or may not work -- depending upon how your host has configured Apache. You'll need to check with your web host.
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  9. #7
    javanx3d's Avatar
    javanx3d is offline Net Builder
    Join Date
    May 2009
    Location
    Germany
    Posts
    916
    Blog Entries
    1
    Thanks
    237
    Thanked 237 Times in 164 Posts
    @SOnnyCool am I correct in reading that you get this error when using the WP backend to delete a plugin? Just wanted to make sure. If so, why not manually delete through your FTP client? If not, sorry for reading the above incorrectly.

  10. #8
    SonnyCooL's Avatar
    SonnyCooL is offline HeeHa
    Join Date
    Jan 2010
    Location
    Melb/Malaysia
    Posts
    920
    Thanks
    250
    Thanked 92 Times in 78 Posts
    Quote Originally Posted by Will.Spencer View Post
    Umm... 32 is a lot less than 638.

    Plus, php_value memory_limit may or may not work -- depending upon how your host has configured Apache. You'll need to check with your web host.
    typo ..... is 638 mb, my host request me error print out which i dunno how to do it

  11. #9
    SonnyCooL's Avatar
    SonnyCooL is offline HeeHa
    Join Date
    Jan 2010
    Location
    Melb/Malaysia
    Posts
    920
    Thanks
    250
    Thanked 92 Times in 78 Posts
    Quote Originally Posted by javanx3d View Post
    @SOnnyCool am I correct in reading that you get this error when using the WP backend to delete a plugin? Just wanted to make sure. If so, why not manually delete through your FTP client? If not, sorry for reading the above incorrectly.

    not plugin delete, is mass delete plugin is not working now ...

  12. #10
    SonnyCooL's Avatar
    SonnyCooL is offline HeeHa
    Join Date
    Jan 2010
    Location
    Melb/Malaysia
    Posts
    920
    Thanks
    250
    Thanked 92 Times in 78 Posts
    thanks everyone ..
    it working now but i need to use 1024m to make it work

Similar Threads

  1. Another fatal error :)
    By SonnyCooL in forum Wordpress
    Replies: 7
    Last Post: 18 October, 2010, 14:19 PM
  2. Wordpress Error 499
    By Grouchy Smurf in forum Wordpress
    Replies: 3
    Last Post: 2 September, 2010, 15:15 PM
  3. [Bug] Got error at top bar
    By deluxdon in forum Announcements and Suggestions
    Replies: 4
    Last Post: 27 March, 2010, 10:48 AM
  4. @Proxy.net / Proxyliste.com Fatal Errors
    By Habaku in forum Web Proxies
    Replies: 2
    Last Post: 2 December, 2009, 11:33 AM
  5. Wordpress is_writable() Error - How to Handle it
    By Shenron in forum Wordpress
    Replies: 3
    Last Post: 30 June, 2009, 19:15 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •