Drupal 11 deprecation errors

Filter errors
All occurences Sort ascending Affected projects Occurs in a top X project by usage Category Message
4 2 10000 Other problem Usage of deprecated trait Drupal​\​plugin​\​Plugin​\​PluginOperationsProviderPluginManagerTrait in class [redacted]:getInstanceFromDefinition().
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 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 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 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.
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 2 10000 Symfony API Interface [redacted] extends deprecated interface Symfony​\​Component​\​DependencyInjection​\​ContainerAwareInterface: since Symfony 6.4, use dependency injection instead
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 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 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 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 3 10000 Other problem Use of constant DATE_ISO8601 is deprecated.
3 3 10000 Drupal API, not rector covered Fetching class constant class of deprecated class Drupal​\​Core​\​Database​\​Driver​\​mysql​\​Connection. Deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module.
3 1 10000 PHPUnit API Call to deprecated method setMethodsExcept() of class PHPUnit​\​Framework​\​MockObject​\​MockBuilder: https://github.com/sebastianbergmann/phpunit/pull/3687
3 3 10000 Other problem Use of constant FILTER_SANITIZE_STRING is deprecated.
3 1 10000 Other problem Class [redacted] extends deprecated class Drupal​\​cloudinary_media_library_widget​\​Plugin​\​CloudinaryMediaBase. Deprecated in cloudinary:3.0.0 and is removed from cloudinary:4.0.0. Use a dedicated source plugin instead.
3 1 10000 Parse error File mongodb.module could not be loaded from module_load_include because mongodb module is not found.
3 1 10000 Other problem Call to deprecated function schema_compare_schemas().
3 3 10000 Drupal API, not rector covered Call to deprecated function user_role_permissions(). Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement beyond loading the roles and calling ​\​Drupal​\​user​\​Entity​\​Role::getPermissions().
3 1 10000 Drupal API, not rector covered Call to deprecated method popTransaction() of class Drupal​\​Core​\​Database​\​Connection. Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use TransactionManagerInterface methods instead.
3 1 10000 Other problem Call to deprecated method GetPaymentState() of class Barion​\​BarionClient.
3 2 10000 Drupal API, not rector covered Call to deprecated method getUnprefixedTablesMap() of class Drupal​\​Core​\​Database​\​Connection. Deprecated in drupal:10.0.0 and is removed from drupal:11.0.0. There is no replacement.
3 3 10000 Drupal API, rector covered Call to deprecated method getContentType() of class Symfony​\​Component​\​HttpFoundation​\​Request: since Symfony 6.2, use getContentTypeFormat() instead
3 2 10000 Drupal API, rector covered Call to deprecated method enableAnnotationMapping() of class Symfony​\​Component​\​Validator​\​ValidatorBuilder: since Symfony 6.4, use "enableAttributeMapping()" instead.
3 1 10000 Symfony API Fetching class constant class of deprecated interface Symfony​\​Component​\​Mercure​\​PublisherInterface.
3 2 10000 Drupal API, not rector covered Call to deprecated method getEntityTranslation() of class Drupal​\​views​\​Entity​\​Render​\​EntityFieldRenderer. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use Drupal​\​views​\​Entity​\​Render​\​EntityTranslationRenderTrait::getEntityTranslationByRelationship instead.


Results are from dataset #287957 from 2024-09-20T07:44. Report is ran by the Drupal Association regularly.