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

dreed47’s picture

The 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.

Dubber Dan’s picture

I've just checked and there's no "collapse.js" to be seen.

dreed47’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.