Drupal 10 deprecation errors

Filter errors
All occurences Affected projects Occurs in a top X project by usage Category Sort descending Message
12 6 10000 Drupal API, not rector covered Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call ​\​Drupal​\​Core​\​Entity​\​Query​\​QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.
2 2 10000 Drupal API, not rector covered 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.
1 1 10000 Drupal API, not rector covered Call to deprecated function menu_ui_get_menus(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​system​\​Entity​\​Menu::loadMultiple() instead.
1 1 10000 Drupal API, not rector covered Call to deprecated method prepareQuery() of class Drupal​\​oracle​\​Driver​\​Database​\​oracle​\​Connection. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use ::prepareStatement instead.
1 1 10000 Drupal API, not rector covered Call to deprecated method generateTemporaryTableName() of class Drupal​\​oracle​\​Driver​\​Database​\​oracle​\​Connection. Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. There is no replacement.
1 1 10000 Drupal API, not rector covered Call to deprecated method prepare() of class Drupal​\​Core​\​Database​\​Connection. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should instantiate ​\​PDOStatement objects by calling ​\​PDO::prepare in their Connection::prepareStatement method instead. ​\​PDO::prepare should not be called outside of driver code.
3 1 10000 Drupal API, not rector covered Access to deprecated property $escapedNames of class Drupal​\​Core​\​Database​\​Connection. Deprecated in drupal:9.0.0 and is removed from drupal:10.0.0. This is no longer used. Use Drupal​\​Core​\​Database​\​Connection::$escapedTables or ​\​Drupal​\​Core​\​Database​\​Connection::$escapedFields instead.
1 1 10000 Drupal API, not rector covered Call to deprecated method prepareQuery() of class Drupal​\​Core​\​Database​\​Connection. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use ::prepareStatement instead.
1 1 10000 Drupal API, not rector covered Class [redacted] extends deprecated class Drupal​\​Core​\​Database​\​Statement. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should use or extend StatementWrapper instead, and encapsulate client-level statement objects.
1 1 10000 Drupal API, not rector covered Call to method execute() of deprecated class Drupal​\​Core​\​Database​\​Statement. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should use or extend StatementWrapper instead, and encapsulate client-level statement objects.
2 1 10000 Drupal API, not rector covered Call to method bindParam() of deprecated class PDOStatement. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should use or extend StatementWrapper instead, and encapsulate client-level statement objects.
1 1 10000 Drupal API, not rector covered Call to method fetch() of deprecated class PDOStatement. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should use or extend StatementWrapper instead, and encapsulate client-level statement objects.
1 1 10000 Drupal API, not rector covered Call to method fetchField() of deprecated class Drupal​\​Core​\​Database​\​Statement. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should use or extend StatementWrapper instead, and encapsulate client-level statement objects.
1 1 10000 Drupal API, not rector covered Call to method fetchObject() of deprecated class PDOStatement. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should use or extend StatementWrapper instead, and encapsulate client-level statement objects.
1 1 10000 Drupal API, not rector covered Call to method fetchAssoc() of deprecated class Drupal​\​Core​\​Database​\​Statement. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should use or extend StatementWrapper instead, and encapsulate client-level statement objects.
2 1 10000 Drupal API, not rector covered Call to method fetchAll() of deprecated class Drupal​\​Core​\​Database​\​Statement. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should use or extend StatementWrapper instead, and encapsulate client-level statement objects.
1 1 10000 Drupal API, not rector covered Call to method fetchColumn() of deprecated class PDOStatement. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should use or extend StatementWrapper instead, and encapsulate client-level statement objects.
1 1 10000 Drupal API, not rector covered Call to method fetchAllKeyed() of deprecated class Drupal​\​Core​\​Database​\​Statement. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should use or extend StatementWrapper instead, and encapsulate client-level statement objects.
1 1 10000 Drupal API, not rector covered Call to method fetchAllAssoc() of deprecated class Drupal​\​Core​\​Database​\​Statement. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should use or extend StatementWrapper instead, and encapsulate client-level statement objects.
1 1 10000 Drupal API, not rector covered Call to deprecated method implementsHook() of class Drupal​\​Core​\​Extension​\​ModuleHandlerInterface. Deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Use the hasImplementations() methods instead with the $modules argument.
1 1 10000 Drupal API, not rector covered Call to deprecated method implementsHook() of class Drupal​\​Core​\​Extension​\​ModuleHandler. Deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Use the hasImplementations() methods instead with the $modules argument.
3 1 10000 Drupal API, not rector covered Call to deprecated method getImplementations() of class Drupal​\​Core​\​Extension​\​ModuleHandler. 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.
1 1 10000 Drupal API, not rector covered The #drupal-off-canvas selector is deprecated in drupal:9.5.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/3305664.
1 1 1000 Drupal API, rector covered Call to deprecated method assertRaw() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->responseContains() instead.
7 5 10000 Drupal API, rector covered Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on ​\​Drupal​\​Core​\​File​\​FileUrlGeneratorInterface instead.
3 3 10000 Drupal API, rector covered Drupal​\​Tests​\​BrowserTestBase::$defaultTheme is required in drupal:9.0.0 when using an install profile that does not set a default theme. See https://www.drupal.org/node/3083055, which includes recommendations on which theme to use.
5 4 10000 Drupal API, rector covered Call to deprecated function drupal_get_path(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Extension​\​ExtensionPathResolver::getPath() instead.
3 2 10000 Drupal API, rector covered Call to deprecated function render(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Render​\​RendererInterface::render() instead.
2 1 10000 Drupal API, rector covered Call to deprecated function file_save_data(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​file​\​FileRepositoryInterface::writeData() instead.
1 1 10000 Drupal API, rector covered Call to deprecated function file_move(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​file​\​FileRepositoryInterface::move() instead.


Results are from dataset #115814 from 2024-03-10T12:30. Report is ran by the Drupal Association regularly.