Skip to content

Unhandled notices from missing indexes #77

Description

@tobiassjosten

I'm getting the following notices in a couple of cases:

PHP Notice:  Undefined index: server in vendor/tedivm/stash-bundle/Factory/DriverFactory.php on line 58
PHP Notice:  Undefined index: port in vendor/tedivm/stash-bundle/Factory/DriverFactory.php on line 59

When running cache:clear, during the clearing phase, the server configuration looks to be passed in just fine:

Array
(
    [server] => localhost
    [port] => 11211
    [weight] => 1
)

No notice. But during the second phase, invoking cache:warmup, it gets passed this:

Array
(
    [0] => localhost
    [1] => 11211
    [2] => 1
)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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