Skip to content
This repository was archived by the owner on May 16, 2026. It is now read-only.
This repository was archived by the owner on May 16, 2026. It is now read-only.

Fatal error running the example in the docs #21

@ACXgit

Description

@ACXgit

Hello everyone, I get this error when I try to run the example server in the docs:

Fatal error: Declaration of class@anonymous::onError(int $code, Icicle\Socket\Socket $socket) must be compatible with Icicle\Http\Server\RequestHandler::onError($code, Icicle\Socket\Socket $socket) in /usr/local/src/icicle/bin/server on line 11

My composer.json:

{
    "require": {
        "icicleio/http": "^0.3.0"
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions