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.
I get the following error come up when I try to go into the Control Panel module
Fatal error: Call to undefined function: drupal_add_js() in /home/westpco1/public_html/modules/controlpanel/controlpanel.module on line 60
I've uninstalled it and reinstalled it, but it still comes up. Any ideas?
Comments
Comment #1
dreed47 CreditAttribution: dreed47 commentedThe module will only call this funciton if it finds file called "collapse.js" in the module directory. The "collapse.js" is in the 4.7 version only so if you installed the 4.6 version it should NOT be there. If it is there, delete it. If it's not there, and you are still getting the error, then something else is going wrong.
Comment #2
Dubber Dan CreditAttribution: Dubber Dan commentedI've just checked and there's no "collapse.js" to be seen.
Comment #3
dreed47 CreditAttribution: dreed47 commentedComment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.