Problem/Motivation
Error: Call to undefined method Drupal\Core\Extension\ModuleHandler::getImplementations() in find_existing_views_data_tables() (line 143 of /drupal/local/web/modules/contrib/views_database_connector/views_database_connector.views.inc).
When installing. Requires drush pm:uninstall to make drupal usable again.
Call to deprecated method getImplementations() of class Drupal\Core\Extension\ModuleHandlerInterface. Deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Instead you should use ModuleHandlerInterface::invokeAllWith() for hook invocations or you should use ModuleHandlerInterface::hasImplementations() to determine if hooks implementations exist.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Screenshot 2023-04-01 at 06.45.26.png | 53.09 KB | thomas kaisuka |
| #2 | d10.patch | 504 bytes | hyperlogos |
Issue fork views_database_connector-3337606
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
hyperlogos commentedtry out this patch I whipped up against 2.0.0, I lifted the solution essentially verbatim from https://www.drupal.org/node/3000490
Comment #3
phil stringer commentedThat stops it breaking drupal 10. Thanks.
Comment #4
thomas kaisuka commentedAfter applying that patch, i still get this error in Drupal 10.0.7 with Commerce 2.0 installed.
Update.... this was due to and error from Commerce 2.0 Itself solved here https://www.drupal.org/project/commerce/issues/3351333
False alarm....
Comment #5
avpadernoComment #6
avpadernoComment #9
andileco commentedThank you for this ticket! Fixed and issued a new release.
Comment #11
sebaz commentedIt is not fixed because module still remains as compatible with all 9.x versions, it should require
^9.4 | 10or split into 2 versions like Reroute Email done it earlier: