Use of deprecated function

Created on 24 February 2022, almost 3 years ago
Updated 14 February 2024, 10 months ago

I am unable to upload h5p of the course presentation type. I got a PHP error: Error: Call to undefined function Drupal\h5p\Plugin\Field\FieldWidget\file_prepare_directory() in Drupal\h5p\Plugin\Field\FieldWidget\H5PUploadWidget->validate() (line 69 of /code/modules/h5p/src/Plugin/Field/FieldWidget/H5PUploadWidget.php)

From my understanding file_prepare_directory() has been deprecated in Drupal 9.

I am running Drupal 9.3.6

Has anyone found a working solution?

thanks
Adam

πŸ› Bug report
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom amccune

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024