Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have configured rules and it work perfectly, but it stop working after 2 or 3 days. When I do flush all cache in Drupal it's working again.
Comment | File | Size | Author |
---|---|---|---|
#4 | fixed-rules-stop-working-after-cron.patch | 6.34 KB | cong.nguyen |
Comments
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedHuh, I just noticed this too - created a rule last night, tested it & it worked fine but wasn't working this morning so looked at the issue queue and saw this, did a 'drupal cr' and it works again.
Comment #3
freelockThis is a duplicate of #2816033: Rules registers no listeners on rare occasions..
Comment #4
cong.nguyen CreditAttribution: cong.nguyen commentedThe patch resolved my problem.
Comment #5
cmaltais CreditAttribution: cmaltais commentedI'm getting the same issue on a Drupal 7 + Commerce website.
Is there any way to adapt the patch to D7, ideally without depending on Symfony? If not, does anyone know an alternative approach to resolving the same issue?
Comment #6
OlivierG CreditAttribution: OlivierG as a volunteer commentedI had the same issue, emails triggered by the Rules module but randomly.
This patch resolved my problem as well
Thanks cong.nguyen