Drupal 10 deprecation errors and warnings

Created on 12 May 2023, almost 2 years ago
Updated 9 August 2023, over 1 year ago

Problem/Motivation

Call to deprecated function taxonomy_vocabulary_get_names()(link is external). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal::entityQuery('taxonomy_vocabulary')->execute() instead.

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.

The 'tree' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256

Steps to reproduce

Scan the module with the upgrade_status module.

Proposed resolution

Fix the errors and warnings

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇵🇰Pakistan hmdnawaz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024