Video node creation fails on Drupal 10

Created on 5 February 2023, almost 2 years ago
Updated 27 August 2024, 4 months ago

Problem/Motivation

Hi everyone
Here is to report back an issue on Drupal 10 version.
The error shown in log file while trying to create a content type with vide field settings of video upload mode.

Uncaught PHP Exception Error: "Call to undefined method Drupal\Component\Utility\Bytes::toInt()" at /home/www/modules/video/src/Plugin/Field/FieldWidget/VideoUploadWidget.php line 253

Steps to reproduce

Install Drupal 10
Add video module, add video field to a content type.
Change the video field setting to Video Upload mode.
Try to visit content creation page.
Blank page shown!

Hope this report provides enough means to track the issue and resolve it soon.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇮🇷Iran tsotoodeh

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

Comments & Activities

Production build 0.71.5 2024