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

AndyF’s picture

Status: Active » Postponed (maintainer needs more info)

Hi, 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

signal000’s picture

Changed 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.

AndyF’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)