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.
Fatal error: Call to undefined function styles_default_containers() in /home/hoslot5/public_html/sites/all/modules/styles/contrib/styles_ui/styles_ui.module on line 24
Can't uninstall :/
Comment | File | Size | Author |
---|---|---|---|
#6 | styles-7.x-2.x-1147284-uninstall_need_module_load.patch | 450 bytes | hswong3i |
Comments
Comment #1
sea4 CreditAttribution: sea4 commentedgetting the same error too.
Comment #2
dilari CreditAttribution: dilari commentedalthough it is not a real fix..
adding
to styles.install helps uninstalling it.
see also: media module issues > http://drupal.org/node/1169472
Comment #3
mgiffordWow, I was just about to paste in:
Which does the same thing. Hopefully this gets in the next release!
Comment #4
andypostError: Call to undefined function styles_variable_default() in /var/www/d7.git/sites/all/modules/styles/styles.install, line 19
+1 to #2
Comment #5
hswong3i CreditAttribution: hswong3i commentedsubscribe. case similar as http://drupal.org/node/1169472#comment-4614882
Comment #6
hswong3i CreditAttribution: hswong3i commentedPatch via styles-7.x-2.x GIT, tested with drupal-7.4 and uninstall successfully without WSOD.
Comment #7
fasdalf@fasdalf.ru CreditAttribution: fasdalf@fasdalf.ru commented+1 to #7! Same problem was with media.module. This patch works for me.
Comment #8
Devin Carlson CreditAttribution: Devin Carlson commentedSame as #7. Had this issue with media.module too. The patch in #6 allowed me to uninstall the module.
Comment #9
bforchhammer CreditAttribution: bforchhammer commentedSame problem as #4, patch in #6 solves the issue for me.
Comment #10
Ankabout CreditAttribution: Ankabout commentedPatch worked for me too.
Comment #11
steinmb CreditAttribution: steinmb commentedWorks for me to. Could someone pls. commit this simple but important one liner patch?
Comment #12
aaron CreditAttribution: aaron commentedcommitted. thanks everyone!
Comment #13
steinmb CreditAttribution: steinmb commentedAh, thanks Aaron for your promptly reply, and commit :)
Comment #15
armanalir CreditAttribution: armanalir commentedSame problem as #4, patch in #6 solves the issue for me.
Thanks..
Comment #16
MacMladen CreditAttribution: MacMladen commentedPatch at #6 works as it should, not just comment out to skip variable removal. Why is not committed as it is obviously a bug and a solution is that patch?
Comment #17
scottrouse CreditAttribution: scottrouse commentedThe patch was committed in comment #12 above. You'll need to install the latest dev version to benefit from the fix.