Drupal 11 deprecation errors

Filter errors
All occurences Sort ascending Affected projects Occurs in a top X project by usage Category Message
5 1 10000 Other problem Call to deprecated function libraries_detect(): Will be removed before a stable Drupal 8 release. Please use the new library load and managment concepts described at: https://www.drupal.org/node/2170763
4 4 200 Drupal API, not rector covered Call to deprecated function node_revision_load(). Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use Drupal​\​Core​\​Entity​\​RevisionableStorageInterface::loadRevision instead.
4 4 500 Drupal API, not rector covered Call to deprecated function file_validate_image_resolution(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead.
4 3 500 Drupal API, not rector covered Call to deprecated function drupal_get_database_types(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use DatabaseDriverList::getList() instead.
4 3 1000 Drupal API, not rector covered Call to deprecated function file_validate_extensions(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead.
4 2 1000 Drupal API, not rector covered Call to deprecated method getDatabaseConnection() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.
4 1 1000 Other problem Call to deprecated method setContainedPluginId() of class Drupal​\​plugin​\​Plugin​\​Field​\​FieldType​\​PluginCollectionItemBase: Deprecated as of 8.x-2.0 and scheduled for removal before 8.x-3.0. Use static::setContainedPluginInstance().
4 1 1000 Other problem Call to deprecated method setContainedPluginConfiguration() of class Drupal​\​plugin​\​Plugin​\​Field​\​FieldType​\​PluginCollectionItemBase: Deprecated as of 8.x-2.0 and scheduled for removal before 8.x-3.0. Use static::getContainedPluginInstance()->setConfiguration() instead.
4 2 1000 PHPUnit API Call to deprecated method getMockClass() of class PHPUnit​\​Framework​\​TestCase.
4 2 1000 Drupal API, not rector covered Instantiation of deprecated class Drupal​\​views​\​Ajax​\​ScrollTopCommand. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use Drupal​\​Core​\​Ajax​\​ScrollTopCommand
4 1 10000 Drupal API, not rector covered Call to deprecated method assertNoMigrationMessages() of class Drupal​\​Tests​\​migmag_menu_link_migrate​\​Kernel​\​MenuLinkMigrateTest. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Move custom database destruction logic to __destruct().
4 1 10000 Drupal API, not rector covered Fetching deprecated class constant RETURN_STATEMENT of class Drupal​\​Core​\​Database​\​Database. Deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. There is no replacement.
3 2 50 Other problem The "#pre_render" render array value expects an array of callbacks.
3 1 100 Twig API Call to deprecated function twig_test_iterable(): since Twig 3.9
3 2 500 Other problem Call to deprecated method create() of class Drupal​\​openid_connect​\​OpenIDConnectStateToken. Deprecated in openid_connect:8.x-1.0-rc2 and is removed from openid_connect:8.x-2.0. Instead of the static OpenIDConnectStateToken::create, use the non-static ​\​Drupal::service('openid_connect.state_token')->create() instead.
3 1 500 Other problem Call to deprecated method confirm() of class Drupal​\​openid_connect​\​OpenIDConnectStateToken. Deprecated in openid_connect:8.x-1.0-rc2 and is removed from openid_connect:8.x-2.0. Instead of the static OpenIDConnectStateToken::confirm use the non-static ​\​Drupal::service('openid_connect.state_token')->confirm() instead.
3 2 500 Other problem Call to deprecated method createEntityAccess() of interface Drupal​\​group​\​Plugin​\​GroupContentEnablerInterface. Deprecated in Group 1.0, will be removed before Group 2.0. Retrieve the access handler from the plugin manager instead.
3 2 500 Other problem Call to deprecated function drush_delete_dir(): Use ​\​Symfony​\​Component​\​Filesystem​\​Filesystem::remove.
3 1 1000 Drupal API, not rector covered Call to deprecated method getEntityTranslation() of class Drupal​\​views_entity_form_field​\​Plugin​\​views​\​field​\​EntityFormField. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use Drupal​\​views​\​Entity​\​Render​\​EntityTranslationRenderTrait::getEntityTranslationByRelationship instead.
3 2 1000 Other problem The "plugin.manager.openid_connect_client.processor" service is deprecated. Use "plugin.manager.openid_connect_client" instead. See https://www.drupal.org/node/3201502
3 3 1000 Drupal API, not rector covered Call to deprecated function system_get_module_admin_tasks(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'system.module_admin_links_helper' service with the getModuleAdminLinks() method and 'user.module_permissions_link_helper' service with the ::getModulePermissionsLink() method instead.
3 1 10000 Other problem Call to deprecated method fieldInfo() of class Drupal​\​extra_field_plus​\​Plugin​\​ExtraFieldPlusDisplayManager. Deprecated in extra_field:8.x-2.0 and is removed from extra_field:3.0.0. Use ExtraFieldManagerBaseInterface::fieldInfo instead.
3 3 10000 Frontend API Theme is overriding a deprecated library. The core/modernizr asset library is deprecated in Drupal 10.1.0 and will be removed in Drupal 11.0.0. See https://www.drupal.org/node/3333253
3 3 10000 Drupal API, not rector covered Call to deprecated function file_validate_is_image(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead.
3 2 10000 Drupal API, not rector covered Fetching class constant class of deprecated class Drupal​\​Core​\​Database​\​StatementWrapper. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use Drupal​\​Core​\​Database​\​StatementWrapperIterator instead.
3 1 10000 Drupal API, not rector covered Call to deprecated method tablePrefix() of class Drupal​\​sqlsrv​\​Driver​\​Database​\​sqlsrv​\​Connection. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Instead, you should just use Connection::getPrefix().
3 1 10000 Other problem Parameter $membership of anonymous function has typehint with deprecated class Drupal​\​group​\​GroupMembership. Deprecated in group:3.2.0 and is removed from group:4.0.0. Use the static methods on ​\​Drupal​\​group​\​Entity​\​GroupMembership instead.
3 1 10000 Drupal API, not rector covered Call to method isConfigurable() of deprecated class Drupal​\​Component​\​Plugin​\​PluginHelper. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Instead, use instanceof() to check for ​\​Drupal​\​Component​\​Plugin​\​ConfigurableInterface.
3 1 10000 Other problem This extension is deprecated. Don't use it. See https://www.drupal.org/project/schemadotorg_deprecated.
3 1 10000 PHPUnit API Call to deprecated method setMethodsExcept() of class PHPUnit​\​Framework​\​MockObject​\​MockBuilder: https://github.com/sebastianbergmann/phpunit/pull/3687


Results are from dataset #256676 from 2024-08-17T19:58. Report is ran by the Drupal Association regularly.