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.
Panels is included in Drupal Commons and the last update REQUIRE uuid module and a function that doesn't exists : ctools_uuid_generate. So my migration from Commons 3.3 to Commons 3.4 failed. I tried to comment all ctools_uuid_generate calls and it works but I think the database is broken!
UPDATE : after some research, it appears that Drupal use my version of ctools placed in sites/all/modules/ctools/ how can I easily force to use profiles/commons/modules/contrib/ctools/ version for my instance? Is the problem solvable?
Comments
Comment #1
Flohw CreditAttribution: Flohw commentedComment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedI have experienced the same issue during upgrade from Commons 3.3 to 3.4.
After various attempts to use module_load_include() and require_once() I just copy pasted function ctools_uuid_generate() code from ctools into panels.module and completed the installation.
Then if I delete the pasted code I get again a fatal error telling me that function ctools_uuid_generate() was not found.
Comment #3
lsolesen CreditAttribution: lsolesen commentedI believe this should be handled by Drupal Commons?
You shoul delete your version of the module in sites/all to force it to use the version in profiles.
Comment #4
ezra-g CreditAttribution: ezra-g commentedThe correct practice is to have only one copy of a module or theme in a single location. For modules and themes included in Commons, don't duplicate them in sites/all/modules.
Comment #5
ezra-g CreditAttribution: ezra-g commented