• I´ve been using your plugin git it write, it allows me to upload almost 30000 blogs in the last week, thank you for that. Now I’m updating the blogs with backlinks but ran into this error;

    PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8192 bytes) in /wordpress/core/6.4.1/wp-includes/class-wpdb.php on line 2320

    I already tried deactivating all the other plugins, clearing the cache and updating the blogs in small batches but the error continues to pop up.

    Thanks in advance for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author vaakash

    (@vaakash)

    Hi @carlosaleono,

    Thanks for using GIW. Happy that you like it.

    The error you have shared means that server ran out of memory trying to publish the posts. 30,000 is a lot of posts.

    This would happen even when you try to import posts. This is something beyond the plugin’s scope.

    My suggestions would be,

    1. To increase server memory – https://wordpress.org/support/topic/fatal-error-allowed-memory-size-126/, https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/
    2. Or pull the wordpress posts using GIW in small batches in multiple tries. The plugin won’t re-publish posts if it is already there. There should be some progress this way. One all posts are published, then future changes shouldn’t be that memory intensive.

    I’m also curious to know your website URL and the github repo if possible to see how the plugin is used.

    Thanks,

    Aakash

    Thread Starter carlosaleono

    (@carlosaleono)

    Hi @vaakash, thank you for your answer.

    I already have the maximum value of memory allowed from WordPress and I was uploading them in small batches but a few days ago it stopped working.

    This is the website https://infoinstitute.wpcomstaging.com/

    Also when pulling, it erases the pages I made in wordpress like blog and glossary for example, is there a way to make that stop?

    Thanks in advance.

    Plugin Author vaakash

    (@vaakash)

    Hi @carlosaleono,

    In that, there is no way to stop that error. This is resource crunch problem and beyond the plugin’s control 🙁

    I would suggest to retry the pull slowly even if fails. Once all posts are published this wouldn’t be needed.

    Regarding certain posts getting deleted, that is not expected. The plugin does not delete any page. What is the github url and the page which is getting deleted?

    Thanks,

    Aakash

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Git it Write PHP error Memory exhausted’ is closed to new replies.