Drupal 11 deprecation errors

Filter errors
All occurences Sort ascending Affected projects Occurs in a top X project by usage Category Message
10 1 10000 Other problem Call to deprecated method getComponent() of class Drupal​\​course​\​Entity​\​CourseObject: Use CourseObject::bundle()
9 4 1000 Drupal API, not rector covered Fetching deprecated class constant RETURN_AFFECTED of class Drupal​\​Core​\​Database​\​Database. Deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. There is no replacement.
8 1 10000 Other problem Instantiation of deprecated class Masterminds​\​HTML5​\​Parser​\​StringInputStream: since 2.4, to remove in 3.0. Use a string in the scanner instead.
8 1 10000 Drupal API, not rector covered Call to deprecated method nextId() of class Drupal​\​Core​\​Database​\​Connection. Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Modules should use instead the keyvalue storage for the last used id.
8 7 10000 Other problem Call to deprecated function utf8_encode().
8 5 10000 Other problem Calls to function dpm should not exist.
7 3 10000 Drupal API, rector covered Call to deprecated method setResource() of class Drupal​\​system​\​Plugin​\​ImageToolkit​\​GDToolkit. Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use Drupal​\​system​\​Plugin​\​ImageToolkit​\​GDToolkit::setImage() instead.
7 4 10000 Other problem Call to deprecated function utf8_decode().
7 5 10000 Other problem Instantiation of deprecated class DrupalFinder​\​DrupalFinder. Deprecated in drupal-finder:1.3.0 and is removed from drupal-finder:2.0.0. Use DrupalFinder​\​DrupalFinderComposerRuntime instead.
7 5 10000 Other problem Call to deprecated method locateRoot() of class DrupalFinder​\​DrupalFinder: Will be removed in v2. Future usage should instantiate a new DrupalFinder object by passing the starting path to its constructor.
6 5 10000 Drupal API, not rector covered Call to deprecated method formatExample() of class Drupal​\​Core​\​Datetime​\​Element​\​Datetime. Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. There is no replacement.
6 1 10000 Other problem Call to deprecated function layout_block_bc_layer_helper(): : should replace this with a deploy hook that actually fixes the issue.
6 4 10000 Other problem Calls to function dd should not exist.
6 1 10000 Drupal API, not rector covered Call to method decode() of deprecated class Drupal​\​Component​\​Serialization​\​YamlSymfony. Deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. Use Drupal​\​Component​\​Serialization​\​Yaml instead.
5 5 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.
5 5 1000 Drupal API, not rector covered Call to deprecated function file_validate(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead.
5 1 10000 Other problem Access to deprecated property $body of class PhpAmqpLib​\​Message​\​AMQPMessage: Will be removed in version 4.0, use getBody() instead.
5 3 10000 PHPUnit API Call to deprecated method withConsecutive() of class PHPUnit​\​Framework​\​MockObject​\​Builder​\​InvocationMocker.
5 5 10000 Drupal API, not rector covered Using config schema as a fallback for a missing `config_export` definition is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. See https://www.drupal.org/node/2949023.
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
5 2 10000 Other problem Call to deprecated function libraries_get_path(): 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 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.
4 1 10000 PHPUnit API Call to deprecated method prophesize() of class PHPUnit​\​Framework​\​TestCase: https://github.com/sebastianbergmann/phpunit/issues/4141
4 2 10000 Other problem Call to deprecated function libxml_disable_entity_loader().
3 2 500 Other problem Call to deprecated function drush_delete_dir(): Use ​\​Symfony​\​Component​\​Filesystem​\​Filesystem::remove.
3 3 1000 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.
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 3 10000 Drupal API, not rector covered Call to deprecated method tablePrefix() of class Drupal​\​Core​\​Database​\​Connection. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Instead, you should just use Connection::getPrefix().
3 2 10000 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.


Results are from dataset #399440 from 2025-01-18T13:36. Report is ran by the Drupal Association regularly.