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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwOTc0MzQsIm5iZiI6MTcyNDA5NzEzNCwicGF0aCI6Ii8xOTAxNDkvMzE0MDIyNzI2LWMwNjA4NTJkLWQyODgtNGY3OC1hZTEyLWM4ODkxMzdlNDNjYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxOVQxOTUyMTRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02ZWNiZGM1YzgyNjdkOTBlNTliZTU1NmM1MDVhYjJlYjIzZjY1YzcyNDkzNmRlYWE2ZDI2YzIyMTFhNjBlM2RmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.DBBI5BDxbQOTS9OrrBSy5h_4-M_sssC7545R8YClVq8)
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: