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.
Upon checking out, after submitting payment, I get this error.
Fatal error: Call to undefined function webform_submission_send_mail() in /home/admin/public_html/sites/all/modules/uc_event_registration/uc_event_registration_ca.inc on line 153
The form still goes thru , but the email doesn't.
Other checkouts, forms and my UC still function on our site.
Comments
Comment #1
AndyF CreditAttribution: AndyF commentedHi, it sounds like the include_once is failing. I can't see why it would fail, but you can try changing
include_once drupal_get_path('module', 'webform') .'/includes/webform.submissions.inc';
at the beginning of uc_event_registration_send_webform_emails() to
module_load_include('inc', 'webform', 'includes/webform.submissions');
If that doesn't work, can you check that you have the file webform/includes/webform.submissions.inc. If that file's present, then could you check the value of
drupal_get_path('module', 'webform') .'/includes/webform.submissions.inc'
and check it's the path to the file you've just located (relative to the document root).Thanks
Comment #2
signal000 CreditAttribution: signal000 commentedChanged this and still receive the same error.
include_once drupal_get_path('module', 'webform') .'/includes/webform.submissions.inc';
at the beginning of uc_event_registration_send_webform_emails() to
module_load_include('inc', 'webform', 'includes/webform.submissions');
ERROR :
Fatal error: Call to undefined function webform_submission_send_mail() in /home/admin/public_html/sites/all/modules/uc_event_registration/uc_event_registration_ca.inc on line 153
Every other UC form works in my site. Its weird. Ill try the other later and post the results.
Comment #3
AndyF CreditAttribution: AndyF commented