WPIntell

Source evidence

Git it Write PHP error Memory exhausted

Git it Write – Write posts from GitHub · support · 2023-11-18T19:22:00+00:00

complaintsentiment
highseverity
1.0relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 31 rows with source links

19.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

25 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
carlosaleono unresolved
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. 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, 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/ 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 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. 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

Comments

3 shown
vaakash 2023-11-18T19:45:00+00:00

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, 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/ 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

carlosaleono 2023-11-20T15:03:00+00:00

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.

vaakash 2023-11-20T20:53:00+00:00

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