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.
After enabling an imported feature using fe_nodequeue I get the following error when accesing the features page or doing drush cc all:
Fatal error: Call to undefined function nodequeue_edit_queue_form_submit() in /path/to/drupal/sites/all/modules/contrib/features_extra/fe_nodequeue.module on line 276
The missing function is in nodequeue/includes/nodeque.admin.inc line 530.
I'm using nodequeue 6.x-2.10 and features_extra 6.x-1.x-dev.
Comment | File | Size | Author |
---|---|---|---|
#9 | fe_nodequeue-features_get_default_params_order-1168634.patch | 3.02 KB | atouchard |
#1 | features_extra-1168634-1.patch | 470 bytes | sharpbites |
Comments
Comment #1
sharpbites CreditAttribution: sharpbites commentedPatch added
Comment #2
davad CreditAttribution: davad commentedPatch works great.
Comment #3
burningdog CreditAttribution: burningdog commented+1 for inclusion - the patch solves the 'Fatal error' issue.
Comment #4
drupalninja99 CreditAttribution: drupalninja99 commentedPatch works for me too, can we get this patched into dev asap?
Comment #5
wizonesolutionsPatch applied cleanly. Committed, pushed, attributed to elreperro. Thank you!
Comment #7
atouchard CreditAttribution: atouchard commentedthere is an error in this commit 07443b0.
In fe_nodequeue_queue_features_revert() and fe_nodequeue_queue_features_rebuild(), the parameters of
$defaults = features_get_default($table, $module_name);
must be in this order
$defaults = features_get_default($module_name, $table);
Comment #8
wizonesolutionsCan someone else confirm this? The order of these parameters seems to keep switching in different patches, and I don't know which order is correct. New patch welcome; just explain what the change does. I'm not a Nodequeue user myself.
Comment #9
atouchard CreditAttribution: atouchard commentedI don't have seen these issues before to post #892754: Wrong order for features_get_default breaks everything and #879588: Wrong syntax order for features_get_default() breaks all Features Extra modules.
The answer is that the order of parameters of features_get_default() in features.export.inc has changed in features 6.x-1.0-beta9.
So, if you only use a prior version of "features", the patch below works with the latest dev version of feature_extra.
Comment #10
pfrenssenDrupal 6 is no longer supported. Closing.