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.
Error occurs under several conditions.
- When adding the better messages module then every page will show the problem
- when adding a Biblio node after clicking "Populate using Pubmed" under Pubmed Lookup.
Notice: Undefined variable: actions in include() (line 4 of /Applications/MAMP/virtualhosts/hhmi_git/sites/all/themes/rubik/templates/form-default.tpl.php) Warning: Invalid argument supplied for foreach() in element_children() (line 6282 of /Applications/MAMP/virtualhosts/hhmi_git/includes/common.inc).
Comments
Comment #1
gregglesThis does seem bad. I wonder if any other modules are causing this.
Can you also see if the latest 7.x-4.x-dev fixes this issue?
Comment #2
dgastudio CreditAttribution: dgastudio commentedsame problem here
Comment #3
greggles@kervi are you also using Biblio module as described by the original poster? Also downgrading this because it seems like these are just notices/warnings and not fatal errors (right?).
Comment #4
dgastudio CreditAttribution: dgastudio commentedin my case errors happens becouse i'm using better messages.
sorry.
Comment #5
greggles@kervi - That's very helpful to know that this issue affects multiple modules. Does it happen for you on every page or just certain pages?
Comment #6
dgastudio CreditAttribution: dgastudio commentedOn evry page
Comment #7
gregglesThat should make it pretty easy for the rubik maintainers to identify the problem.
I've updated the issue summary to include that.
Comment #8
micnap CreditAttribution: micnap commentedI'm also getting this issue when using the Redhen CRM module - http://drupal.org/project/redhen. So far I've only seen the error on the /users/%user/edit/redhen_contact page. The page allows users to edit their CRM profile.
Thanks,
Mickey
Comment #9
micnap CreditAttribution: micnap commentedMore info:
I was getting the exact same errors as kervi in #2 but am not using the Biblio module.
In my case, the Redhen module is unsetting the save button for the user_profile_form - unset($form['actions']);
If I comment out the unset, all works fine.
Hope this helps.
Mickey
Comment #10
dgastudio CreditAttribution: dgastudio commentedthe problem appear again with tipsy module
Comment #10.0
dgastudio CreditAttribution: dgastudio commentedclarifying with more info from further comments
Comment #11
haydeniv CreditAttribution: haydeniv commentedSimple fix.
Committed: ac3854a