Drupal 11 deprecation errors

Filter errors
All occurences Sort ascending Affected projects Occurs in a top X project by usage Category Message
12 5 1000 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.
11 9 10000 Other problem Call to deprecated function utf8_encode().
11 2 10000 Other problem Calls to function dsm should not exist.
10 1 1000 Other problem Call to deprecated method getContainedPluginConfiguration() 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()->getConfiguration() instead.
10 1 10000 Other problem Call to deprecated method getComponent() of class Drupal​\​course​\​Entity​\​CourseObject: Use CourseObject::bundle()
10 10 10000 Info.yml or composer.json Parse error in composer.json. Having a composer.json is not a requirement in general, but if there is one, it should be valid. See https://drupal.org/node/2514612.
9 3 10000 PHPUnit API Call to deprecated method assertRegExp() of class PHPUnit​\​Framework​\​Assert: https://github.com/sebastianbergmann/phpunit/issues/4086
9 7 10000 Other problem Access to deprecated property $entityId of class Drupal​\​commerce_payment​\​Plugin​\​Commerce​\​PaymentGateway​\​PaymentGatewayBase. Deprecated in commerce:8.x-2.16 and is removed from commerce:3.x. Use $this->parentEntity->id() instead.
8 8 50 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.
8 6 500 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.
8 6 500 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.
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.
7 7 500 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.
7 1 500 Other problem Call to deprecated method getDefinitions() of class Drupal​\​tfa​\​TfaValidationPluginManager. Deprecated in tfa:8.x-1.0-alpha7 and is removed from tfa:8.x-2.0. Please specify the setupPluginId property in the plugin annotation.
7 2 10000 Drupal API, not rector covered Call to deprecated function shortcut_current_displayed_set(). Deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. Use Drupal​\​shortcut​\​ShortcutSetStorageInterface::getDisplayedToUser() instead.
7 6 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().
7 3 10000 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.
7 4 10000 Other problem Call to deprecated function utf8_decode().
6 1 50 Other problem This extension is deprecated. Don't use it. See https://www.drupal.org/docs/8/modules/webform/webform-frequently-asked-questions/what-to-do-about-deprecated-external-libraries-in-webform-6x.
6 3 100 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
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 3 10000 Other problem Call to deprecated function libxml_disable_entity_loader().
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 3 500 Symfony API Interface [redacted] extends deprecated interface Symfony​\​Component​\​DependencyInjection​\​ContainerAwareInterface: since Symfony 6.4, use dependency injection instead
5 5 1000 Other problem Use of constant FILTER_SANITIZE_STRING is deprecated.
5 1 1000 Other problem Call to deprecated method getContainedPluginId() 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()->getPluginId() instead.
5 3 1000 Other problem Usage of deprecated trait Drupal​\​plugin​\​Plugin​\​PluginOperationsProviderPluginManagerTrait in class [redacted]:getInstanceFromDefinition().
5 1 1000 Other problem Access to deprecated property $body of class PhpAmqpLib​\​Message​\​AMQPMessage: Will be removed in version 4.0, use getBody() instead.
5 4 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.


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