I tried to install this module and it would not install and I got this from reports:

Warning: require_once(__DIR__/unused_modules.inc) [function.require-once]: failed to open stream: No such file or directory in require_once() (line 7 of .../sites/all/modules/unused_modules/unused_modules.module).

It was working on Drupal 7.52 but updated today to 7.53 and I got white screen of death because of this module. Restored to 7.52 uninstalled this module then installed 7.53 and tried to reinstall and above happened.

I like this module, what has gone wrong with it and latest drupal core?

Comments

Anonymous’s picture

CD created an issue. See original summary.

ndf’s picture

Status: Active » Postponed (maintainer needs more info)

The error explains that .../sites/all/modules/unused_modules/unused_modules.module is missing in your file system.
Did you move the module to a different path?

Can you try to rebuild the registry with drush?
https://www.drupal.org/project/registry_rebuild

Does that help?

mattm007’s picture

I have the same issue and I confirmed the files exist. Any other suggestions?

ndf’s picture

Assigned: » Unassigned
Status: Postponed (maintainer needs more info) » Active

mattm007; couple of questions?
- Can add the stacktrace of the error?
- Can you report the versions you use of: drupal core, unused_modules and your php version?
- Do you have unused_modules also installed in your local drush path? (something like ~/.drush/unused_modules)?

ndf’s picture

Status: Active » Postponed (maintainer needs more info)
astonvictor’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.