The GLOB_BRACE flag is not available on some non GNU systems, like Solaris or Alpine Linux.

Created on 27 September 2022, over 2 years ago
Updated 19 November 2024, about 2 months ago

The GLOB_BRACE constant variable is used the line riddle_marketplace/modules/media_riddle_marketplace/src/Plugin/media/Source/Riddle.php:178:

$absolute_uri = current(glob($this->fileSystem->realpath($directory . '/' . $code . ".*{jpg,jpeg,png,gif}"), GLOB_BRACE));

This causes issues in some Linux distributions, as this GLOB_BRACE variable is not present in all GNU systems. According to https://www.php.net/manual/en/function.glob:

Note: The GLOB_BRACE flag is not available on some non GNU systems, like Solaris or Alpine Linux.

🐛 Bug report
Status

Needs work

Version

4.0

Component

Code

Created by

🇦🇹Austria a.milkovsky UTC +2

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

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