Sometimes posting twice?
-
My plugin sometimes posts twice rather than once. I have it setup to auto post every hour – however about 50% of the time, every hour it will actually post twice. These are not duplicate posts, they are different posts from my draft section. Please advise. Thanks
2015-03-25 05:44:44 – draft POST id 57496 PUBLISHED : ‘Lucky man almost hit by lightning’
2015-03-25 05:44:46 – draft POST id 57502 PUBLISHED : ‘Cat and bear’
2015-03-25 06:44:23 – DEBUG: eligible posts WP_Query Array
(
[posts_per_page] => 1
[cat] =>
[post_type] => Array
(
[0] => post
)[ignore_sticky_posts] => 1
[post_status] => Array
(
[0] => draft
)[order] => ASC
)2015-03-25 06:44:23 – DEBUG: found 1 results.
2015-03-25 06:44:23 – DEBUG: processing post Call of Duty in a nutshell
2015-03-25 06:44:23 – DEBUG: wp_update_post Array
(
[ID] => 57487
[post_status] => publish
[post_date_gmt] => 2015-03-25 05:44:23
[post_date] => 2015-03-25 06:44:23
)2015-03-25 06:44:23 – DEBUG: eligible posts WP_Query Array
(
[posts_per_page] => 1
[cat] =>
[post_type] => Array
(
[0] => post
)[ignore_sticky_posts] => 1
[post_status] => Array
(
[0] => draft
)[order] => ASC
)2015-03-25 06:44:23 – DEBUG: found 1 results.
2015-03-25 06:44:23 – DEBUG: processing post Funny soccer
2015-03-25 06:44:23 – DEBUG: wp_update_post Array
(
[ID] => 57490
[post_status] => publish
[post_date_gmt] => 2015-03-25 05:44:23
[post_date] => 2015-03-25 06:44:23
)2015-03-25 06:44:32 – Post published outside of APS – Auto Post Scheduler restarted
2015-03-25 06:44:32 – draft POST id 57490 PUBLISHED : ‘Funny soccer’
2015-03-25 06:44:34 – draft POST id 57487 PUBLISHED : ‘Call of Duty in a nutshell’
2015-03-25 06:53:12 – Options Saved! New Auto Post Schedule time will be used after next auto post check.
- The topic ‘Sometimes posting twice?’ is closed to new replies.