drupal_get_path() is deprecated in drupal 10

Created on 28 January 2024, 10 months ago
Updated 9 May 2024, 6 months ago

Problem/Motivation

In Template.php line 408:

An exception has been thrown during the rendering of a template ("Call to undefined function drupal_get_path()") in "__string_template__ad3d9d102e6e5ac33b7a4ec7da7ccf70" at line 1.

In opengraph_filter.module line 197:

Call to undefined function drupal_get_path()

Steps to reproduce

Install the module on drupal-10

Proposed resolution

Update the call to the corresponding service

Remaining tasks

Coding & testing. See code repository.

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇦🇺Australia interlated

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

Comments & Activities

Production build 0.71.5 2024