Fatal Error

Home Forums Bulk Delete Addons Delete from Trash Fatal Error

We have replaced our forums with email based support system.

Please open a support ticket from our new support page.

This topic contains 5 replies, has 2 voices, and was last updated by  Sudar 8 years, 1 month ago.

  • Author
    Posts
  • #5913

    Victor Ruiz
    Participant

    Hello,

    I just purchased the Posts In Trash add-on to try and delete over 10,000 posts from my trash. After the install I receive the following message:

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 40 bytes) in /home/content/88/5747488/html/earpeeler/wp-includes/wp-db.php on line 2350

    What can I do to fix this situation?

    Than you in advance for your assistance.

  • #5916

    Sudar
    Keymaster

    Hello Victor,

    Looks like your server is running out of memory.

    Kindly post your system info and I will let you know what would be the best way to overcome it.

    You can get the system info by going to Bulk WP -> System Info menu.

  • #5917

    Victor Ruiz
    Participant

    Ok, attached is the system info file. Please let me know if you need anything else.

    Attachments:
    You must be logged in to view attached files.
  • #5919

    Sudar
    Keymaster

    Hello Victor,

    WordPress Memory Limit: 40M
    WordPress Max Limit: 256M
    PHP Memory Limit: 256M

    Looks like WordPress is allocated only 40MB of memory, while PHP has about 256MB of memory.

    Add the following line in your wp-config.php file to increase the amount of memory allocated to WordPress to 256MB

    define( 'WP_MEMORY_LIMIT', '256M' );

  • #5920

    Victor Ruiz
    Participant

    After adding what you specified to the config file, the error now changes to this:

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32 bytes) in /home/content/88/5747488/html/earpeeler/wp-includes/meta.php on line 838

  • #5921

    Sudar
    Keymaster

    Hello Victor,

    Looks like your server is not able to handle the load. This is not the problem with the plugin or WordPress, but it is just your server is not able to handle the volume of posts.

    You have two options now.

    1) Increase the amount of memory available to your server. You may have to contact your web host to do it.
    2) The other option is to restrict the number of posts that get’s deleted. Since you are using the “Delete from trash” module, you can tweak the post date, so that the number of posts that gets deleted is reduced.

The forum ‘Delete from Trash’ is closed to new topics and replies.