php errors on file uploads

Created on 17 April 2025, 8 days ago

Problem/Motivation

In the mediauploader.php file, the image settings use the Elvis operator instead of a coalescing operator which results in php errors returning in the json response under certain server conditions. The file will then fail to upload.

Proposed resolution

Change the Elvis operators to coalescing operators in mediauploader.php lines 50-53

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024