When using the Aegir hosting system with this module, errors appear when trying to migrate, backup, or clone a site. This is because Drupal is not fully bootstrapped during these operations and the module_load_include function is not defined. There are 2 instances of this function used to include the responsive_navigation_common.inc file. For me replacing these two functions with include_once fixed the issue and allowed Aegir to work properly to manage the Drupal site.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 2018335.8-responsive_navigation-include-once-followup.patch | 433 bytes | mrfelton |
| #3 | include-once-2018335-3.patch | 1.28 KB | adam-delaney |
Comments
Comment #1
jrabeemer commentedOk. Please provide a patch. Thanks.
Comment #2
jrabeemer commentedComment #3
adam-delaney commentedSubmitting a patch to resolve this issue using include_once.
Comment #4
kendouglass commentedThe patch at #3 fixed my problem.
I was getting errors when I try to run drush commands:
Thanks Adam.
Comment #5
blakehall commentedWorking for me too.
Comment #6
jrabeemer commentedCommitted.
http://drupalcode.org/project/responsive_navigation.git/commit/84f5d0440...
Comment #7
mrfelton commentedLooks like you forgot to make the change in responsive_navigation.drush.inc. Follow u patch attached.
Comment #8
jrabeemer commentedThanks. I'll commit it soon.
Comment #9
scottrigbyJust sayin'
Comment #10
bjlewis2 commented+1
Manually made the change in #7, and no longer get the error when running "drush updb".
Comment #11
jrabeemer commentedCommitted to 7.x-1.x-dev
http://drupalcode.org/project/responsive_navigation.git/commit/40a1e29
Hopefully this fixes the drush/aegir bugs. Why does this function exist? :-/
Thanks.
Comment #12
v7nguyen commentedHi Newbie,
I am getting into the same error code when running rush with verion 7.x-1.0, is it possible to apply the same patch? Thanks in advance :))
Comment #13
hass commentedComment #15
nithinkolekar commentedexisting 7.x-1.0 is show error when running drush command but when tried to
drush pm-update responsive_navigationit returnsNo code updates available..Is this patch only committed to dev branch?