Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing modules is failing on Drupal 10 due to calls to deprecated function "module_load_install" #5072

Closed
lhridley opened this issue Feb 13, 2022 · 2 comments

Comments

@lhridley
Copy link
Contributor

Describe the bug
In Drupal 9.4, module_load_include has been deprecated, and will be removed in Drupal 10. This function call still exists in Drush 11.
To Reproduce

  1. Install Drupal 10 with Drush 11
  2. Add any module and attempt to enable that module

Expected behavior
Module is enabled without issue
Actual behavior
Module installation fails with a fatal error due to calls to a now removed function module_load_include. See https://github.com/Drupal-10-Compatibility/advancedqueue/runs/5174788737?check_suite_focus=true#step:12:45 for full stack dump.
Workaround
Is there another way to do the desired action?

System Configuration

Q A
Drush version? 11.0.5
Drupal version? 10.x
PHP version 8.1
OS? Mac/Linux
@lhridley
Copy link
Contributor Author

PR submitted: #5073

@weitzman
Copy link
Member

Fixed in #5078

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants