Active
Project:
Simplenews
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Aug 2018 at 08:09 UTC
Updated:
1 Aug 2018 at 08:09 UTC
Jump to comment: Most recent
After submitting the user_profile_form with key simplenews I received the following error:
Error: Call to undefined function simplenews_subscriptions_account_form_submit() in form_execute_handlers() (Zeile 1520 von /usr/www/users/biourq/docroot/includes/form.inc).
I was able to fix the error by adding a form_load_include call:
--- a/simplenews.subscription.inc
+++ b/simplenews.subscription.inc
@@ -50,6 +50,9 @@
*/
function simplenews_subscriptions_account_form(&$form, &$form_state, $subscriber) {
+ form_load_include($form_state, 'inc', 'simplenews',
+ 'includes/simplenews.subscription');
+
$options = array();
$default_value = array();I don't know if the error is specific to my quite complex Drupal installation. I am altering the user_profile_form on several other locations.
Comments