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.
If I try to uninstall Drupal Commerce Extra Panes - Terms of service, I get following error message:
Fatal error: Call to undefined function commerce_extra_panes_get_panes() in /mnt/webc/42/58/51167658/htdocs/d/sites/all/modules/commerce_extra_panes/modules/commerce_extra_panes_termsofservice/commerce_extra_panes_termsofservice.install on line 12
Comment | File | Size | Author |
---|---|---|---|
#16 | commerce_extra_panes_termsofservice.install.patch | 585 bytes | Tomefa |
#4 | 1263432-uninstall_problem-4.patch | 772 bytes | pcambra |
Comments
Comment #1
greysun CreditAttribution: greysun commented*push*
Any help?
Comment #2
pcambraHi,
Which version of Drupal 7 are you using? this is a problem identified in #1029606: Regression: Not loading the .module file causes a fatal error when uninstalling some modules (as does loading it) and solved both for D7 and D8 in June http://drupal.org/node/1029606#comment-4603656
Comment #3
Prague man CreditAttribution: Prague man commentedThere is not solution.
My solution is here:
Comment #4
pcambraAs I posted in #2 I can't reproduce this and if you're using a Drupal version older than June (and you should), this should be safe.
Anyways we could be really sure that the module file is being included by doing a drupal_load.
I'll be happy to commit this when some getting the error confirms it fixes the problem.
Comment #5
dmirtillo CreditAttribution: dmirtillo commentedThe patch does not solve the issue. I'm on D7.10 with commerce 1.2 and the revision of commerce extra panes currently for download (20 Jan).
I have the same kind of error but i don't know if i can reproduce it.
The module is currently not working for me and i can't uninstall it.
Is there any manual way of doing it so that i can try working on a clean install?
Comment #6
pcambra#5 there's little to do if you can't reproduce a problem, how do you know that you've got a problem then?
Not sure of what does "can't uninstall it" mean, you should be fine just deleting the variables.
Comment #7
dmirtillo CreditAttribution: dmirtillo commentedI know i had a problem cause i could not uninstall the module, since i was receiving a fatal error similar to the one in the main post :)
The solution proposed by @mpark worked flawlessly, but thanks anyway!
Comment #8
pcambra#7 how is it possible that the solution in #3 solves your problem but the same solution in a patch #4 does not?
Comment #9
pcambraSetting to RTBC after a chat with D4rKr0w on IRC
Comment #10
pcambraAnd committed!
Thanks everyone for reporting and give feedback.
Comment #12
PESTO3567 CreditAttribution: PESTO3567 commented#3 worked for me
Comment #13
sixelats CreditAttribution: sixelats commented#3 worked for me (drupal 7.12, extra panes 7.x-1.x-dev 2011-Mar-07).
@pcambra, commited? Doesn't seem so in 7.x-1.x-dev of 2011-Mar-07. Am I missing something?
Comment #14
pcambrahere?
http://drupalcode.org/project/commerce_extra_panes.git/blob/refs/heads/7...
Comment #15
sixelats CreditAttribution: sixelats commented@pcambra,
Sorry, I was either tired or blind yesterday and could not see the change in current dev version...
Comment #16
Tomefa CreditAttribution: Tomefa commentedI get the same problem, #3 works for me too
here is the patch to include in the module
Comment #17
eidoscomPosted in #16 is the correct patch RTBC. It worked for me.
@pcambra, Patch in 4 was wrong as it try to load the extra_panes_termsofservice module instead of extra_panes module.
Thanks @Tomefa and all ;)
Comment #18
pcambraComment #19
pcambraFixed, thanks for the catch
Comment #21
darvanen#16 does not appear to be in the current stable release.
Comment #22
Slown CreditAttribution: Slown commented#3 and #16 patch worked for me too. Thank's a lot.
Comment #23
danon1981 CreditAttribution: danon1981 commentedJust using patch from #16 did the trick for me Thanks!!
Comment #24
Stephane Bouillet CreditAttribution: Stephane Bouillet commentedPatch #16 works for me in Drupal 7.56
Why is this patch not integrated in the module ????????
Comment #25
darvanen@remedact my guess is the maintainer is no longer maintaining the module, there have been no commits for about 4 years.
Instead of shouting, perhaps consider applying to be a maintainer of the module? (I'm no longer working on sites that use this or I would do so myself - I was too green to do so when I first commented).