Skip to content

Undefined constant "Hyde\Foundation\Kernel\GLOB_BRACE" #270

@sobi3ch

Description

@sobi3ch

OS: Fedora 41 (Workstation edition)
Kernel: x86_64 Linux 6.11.8-300.fc41.x86_64
PHP: 8.3.11
Composer: 2.8.3

Following instructions from instillation guide (https://hydephp.com/docs/1.x/)

composer create-project hyde/hyde
cd hyde
php hyde make:post
php hyde make:page
php hyde build

..when building I'm getting the following error:

 RuntimeException 

  An error occurred during the discovery process: Undefined constant "Hyde\Foundation\Kernel\GLOB_BRACE"

  at vendor/hyde/framework/src/Foundation/Concerns/BaseFoundationCollection.php:54
     50▕         try {
     51▕             $this->runDiscovery();
     52▕             $this->runExtensionHandlers();
     53▕         } catch (Throwable $exception) {
  ➜  54▕             throw new RuntimeException("An error occurred during the discovery process: {$exception->getMessage()}", previous: $exception);
     55▕         }
     56▕ 
     57▕         return $this;
     58▕     }

      +22 vendor frames 

  23  hyde:35
      LaravelZero\Framework\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

Is this a bug or I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions