Deprecated function drupal_get_path()

Created on 3 September 2024, 3 months ago

Problem/Motivation

Using Drupal 10, when trying to upgrade opigno module from 3.0.4 to 3.1.2, and running drush updb, there is an error in the opigno_h5p_update_9001() hook execution due to deprecated code.

drupal_get_path(‘module’, ‘opigno_h5p’) . ‘/config/optional/’;

Steps to reproduce

  • Upgrade opigno_module from 3.0.4 to 3.1.2
  • Run drush updb
  • See the error

Proposed resolution

Replace deprecated code.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Needs review

Version

3.1

Component

Code

Created by

🇦🇷Argentina andreadruiz Buenos Aires

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

Comments & Activities

Production build 0.71.5 2024