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.
Call to undefined function rules_invoke_event() in views_send.module on line 833
Latest version of Rules module has no function rules_invoke_event. The new method to use custom rules events is to declare new class for it and then call it via code like: $event = new EventClassName($context);
(From the Rules 8.x manual.)
Comments
Comment #2
hansfn CreditAttribution: hansfn commentedThx a lot for the bug report. I haven't tested much with Rules lately (as you probably understand). Will fix shortly.
Comment #3
hansfn CreditAttribution: hansfn commentedHi! I'm still working on this - there is progress, but nothing committed yet.
Anyway, to remove the fatal error comment out the rules_invoke_event calls in the files views_send.cron.inc and views_send.module. If you don't use the Rules integration, this is a sufficient fix.
Comment #5
hansfn CreditAttribution: hansfn commentedThe calls to rules_invoke_event() has been removed and I set the status to fixed. Enabling the Rules module doesn't break the module anymore. However, the Rules integration isn't complete yet since it is unclear to me how to create the needed data type.
Comment #7
millionacrenest CreditAttribution: millionacrenest commentedI'm using the dev version and getting the same error as the above.
Comment #8
hansfn CreditAttribution: hansfn commentedNo, you can't be using the latest dev version - 8.x-1.0+5-dev - from 1st of March. Please check carefully which version you are using.