Skip Navigation

Errors about GLOB_BRACE and glob() when running Toolset on certain non-GNU systems like Solaris

Resolved

Reported for: Toolset Layouts 2.1

Resolved in: 2.0.1

Symptoms

When you run Toolset on a non-GNU system like Solaris, you will see the following PHP errors:
PHP Warning: glob() expects parameter 2 to be integer, string given in .../types/vendor/toolset/toolset-common/utility/condition/theme/layouts-support/native/available.php on line 30
PHP Warning: Invalid argument supplied for foreach() in .../types/vendor/toolset/toolset-common/utility/condition/theme/layouts-support/native/available.php on line 30

Workaround

Currently, there is no solution for this issue. Our developers are aware of this and will try to replace the GLOB_BRACE requirements of Toolset.

Note that this issue is also discussed to be adjusted directly in Solaris:

Comments are closed