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.
when installing all at the same time i have this error :
Fatal error: Call to undefined function support_active_clients() in /var/www/sites/all/modules/support_fields/support_fields.install on line 16
Comments
Comment #1
span CreditAttribution: span commentedCould you please tell me what version of the support module you are using as well?
Comment #2
ssm2017 Binder CreditAttribution: ssm2017 Binder commentedthe support version i am using is 6.x-1.3
when installing "support" then installing your module all is fine
the problem is when im trying to enable all at the same time
this is calling the function but the module is not yet installed
maybe you should use a test to check if the function is available or use "requirements" to force people install "support" before installing your module
Comment #3
span CreditAttribution: span commentedAh, thank you for an excellent description of the problem. This will make it easy to fix. If you have a patch you are more then welcome to post it otherwise I will look into this next week.
Thank you for your report.
Comment #4
span CreditAttribution: span commentedCommited a change to dev version which is not available in the Beta atm. A fix is either to make sure the support module is installed and activated before enabling the add-on. Another fix is changing the hook_install from this:
To this:
Comment #5
span CreditAttribution: span commented