Multiple posts are published despite settings triggering only pending posts
-
The plugin started a few months ago to occasionally publish two posts per day despite the settings that trigger only one post, either a pending post and if there is no pending post then to recycle the oldest post. Today for example, the plugin published a pending post and the oldest post. Here is the debug: 2023-10-03 02:43:13?-?DEBUG: aps_auto_post_hook triggered, looking for eligible posts... 2023-10-03 02:43:13?-?DEBUG: aps_num_day stats are Array ( [0] => 02 [1] => 1 ) and today is day 3. 2023-10-03 02:43:13?-?DEBUG: eligible posts WP_Query Array ( [posts_per_page] => 1 [cat] => [author] => 5 [post_type] => Array ( [0] => post ) [ignore_sticky_posts] => 1 [post_status] => Array ( [0] => pending ) [order] => ASC ) 2023-10-03 02:43:13?-?DEBUG: found 1 results. 2023-10-03 02:43:13?-?DEBUG: processing post Moclips, Mocrocks Beach 2023-10-03 02:43:13?-?DEBUG: wp_update_post Array ( [ID] => 72083 [post_status] => publish [post_date_gmt] => 2023-10-03 09:43:13 [post_date] => 2023-10-03 02:43:13 ) 2023-10-03 02:43:14?-?pending POST id 72083 PUBLISHED : 'Moclips, Mocrocks Beach' 2023-10-03 02:43:14?-?DEBUG: Reached maximum number of published/recycled posts (1) for day 03. 2023-10-03 02:43:14?-?DEBUG: wp_next_scheduled for 2023-10-04 02:42:59 America/Vancouver. 2023-10-03 02:43:30?-?DEBUG: aps_auto_post_hook triggered, looking for eligible posts... 2023-10-03 02:43:30?-?DEBUG: aps_num_day stats are Array ( [0] => 02 [1] => 1 ) and today is day 3. 2023-10-03 02:43:30?-?DEBUG: eligible posts WP_Query Array ( [posts_per_page] => 1 [cat] => [author] => 5 [post_type] => Array ( [0] => post ) [ignore_sticky_posts] => 1 [post_status] => Array ( [0] => pending ) [order] => ASC ) 2023-10-03 02:43:30?-?DEBUG: found 0 results. 2023-10-03 02:43:30?-?DEBUG: no eligible posts, entering Recycle Posts Mode. 2023-10-03 02:43:30?-?DEBUG: recycle posts WP_Query Array ( [posts_per_page] => 1 [cat] => [author] => 5 [post_type] => Array ( [0] => post ) [ignore_sticky_posts] => 1 [post_status] => publish [order] => ASC [date_query] => Array ( [before] => 7 days ago ) [orderby] => post_date ) 2023-10-03 02:43:31?-?DEBUG: found 1 results. 2023-10-03 02:43:31?-?DEBUG: processing post A?o Nuevo Dunes, A?o Nuevo State Park 2023-10-03 02:43:32?-?DEBUG: wp_update_post (as new) Array ( [ID] => 72108 [post_status] => draft ) 2023-10-03 02:43:32?-?DEBUG: wp_update_post Array ( [ID] => 72108 [post_status] => publish [post_date_gmt] => 2023-10-03 09:43:31 [post_date] => 2023-10-03 02:43:31 ) 2023-10-03 02:43:33?-?POST id 72108 RECYCLED: 'A?o Nuevo Dunes, A?o Nuevo State Park' 2023-10-03 02:43:33?-?DEBUG: Reached maximum number of published/recycled posts (1) for day 03. 2023-10-03 02:43:33?-?DEBUG: wp_next_scheduled for 2023-10-04 02:42:59 America/Vancouver.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Multiple posts are published despite settings triggering only pending posts’ is closed to new replies.