Whenever I run drush to enable any module it says:
WD actions: One orphaned action (backup_migrate_backup_action) exists[warning]
in the actions table. Remove orphaned actions
Not sure what to do about that
Whenever I run drush to enable any module it says:
WD actions: One orphaned action (backup_migrate_backup_action) exists[warning]
in the actions table. Remove orphaned actions
Not sure what to do about that
Comments
Comment #1
senpai commentedHow do you interact with your database? Command line, PHPmyAdmin, or MySQL Workbench?
Comment #2
AdrianB commentedYou can visit
admin/settings/actions/orphanto remove them according to this comment.Comment #3
apotek commentedI'm seeing this as well.
I think the key here is to write a hook_disable() function in the migrate_backup module that would remove any of the module's actions. As it is the row remains, but is dissociated (orphaned) if I disable the backup_migrate module.
@agerson: did you ever disable backup_migrate before running into this error?
I might add that this problem occurs even with the latest release (Oct 16, 2010).
Comment #4
apotek commented@agerson: if you can verify if this only started happening post-disabling the module, I'll write a patch.
Comment #5
ergophobe commentedI can verify that this happened but all I did was go to
/admin/settings/actions/orphan
as mentioned by Adrian and it sorted it right out. VBO was not the only module that left orphans (comment did too).
Comment #6
j2parker commented$ drush dis captcha
The following projects will be disabled: captcha, image_captcha
Do you really want to continue? (y/n): y
WD actions: One orphaned action (backup_migrate_backup_action) exists in the actions table. Remove orphaned actions [warning]
Comment #7
damaddhacker commentedDrupal 6 - Drush warning about orphaned actions
When I was executing drush commands, I got a warning similar to this:
The following extensions will be disabled: location
Do you really want to continue? (y/n): y
WD actions: 3 orphaned actions (og_remove_groups_action,
og_make_public_action, og_make_private_action) exist in the actions
table. Remove orphaned actions
location was disabled successfully.
Solution is to use a badly-documented Drupal feature which automatically removes all orphaned actions. Simply visit the following hidden URL on your drupal site: yoursite.com/admin/settings/actions/orphan, and it will remove any orphaned actions and forward you to the Manage Actions page, where you will see they are no longer listed!
REFERENCES
https://drupal.org/node/445922#comment-2977526
Comment #8
suffusionofyellow commentedor do
drush ev "actions_synchronize(array(),true);"
Comment #9
chrisarusso commentedIt's actually
drush php-eval "actions_synchronize(actions_list(), TRUE);"for 7 per this comment:
https://drupal.org/node/445922#comment-3738188
Comment #10
dgorton commentedYep - not well documented. Also not specific to B&M. Per many of the comments, solution is to visit http://yourwebsite.com/admin/settings/actions/orphan
Comment #11
alamp commented+1 Vote up for #10
My error is as follows (Drupal 7.27)
According to this comment,
If you click the link http://yourwebsite.com/admin/settings/actions/orphan,
Drupal system will automatically remove orphaned actions.