Action scheduler in comments #1044
Labels
priority: normal
The issue/PR is normal priority—not many people are affected or there’s a workaround, etc.
type: bug
The issue is a confirmed bug.
Hi !
Since around a week or two, I have a LOT of comments from AS appearing in the admin comments pages.
Same as #446
I didn't had this problem before.
I've hidden them using pre_get_comments filter but I'd like to stop them being saved because it's generating a lot of comments.
I've tried running as_enqueue_async_action( 'action_scheduler/cleanup_wp_comment_logs' ); in wp shell. doing that, I have this in my scheduled actions :
![Capture d’écran 2024-03-19 à 11 47 00](https://private-user-images.githubusercontent.com/190149/314022726-c060852d-d288-4f78-ae12-c889137e43cc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MjI0MzEsIm5iZiI6MTczOTYyMjEzMSwicGF0aCI6Ii8xOTAxNDkvMzE0MDIyNzI2LWMwNjA4NTJkLWQyODgtNGY3OC1hZTEyLWM4ODkxMzdlNDNjYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQxMjIyMTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lNmU1MjFjZmIwNmNjMDQ4MDc5YjljYjQ2MzcwZmQ2MDlhYmRjMGFjOGZiMjczYmI3YjhjYmE2ZGY1ZmUyNmNhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.euKvWxSFHqerbyEK9nacGCelKi1f0VC8uonxvEVAytE)
if I click on RUN, the event is then marked as failed. I don't see any error in logs so it's hard to debug that.
Any advice ? Thanks !!!
The text was updated successfully, but these errors were encountered: