mardi 30 octobre 2018

Illegal offset type in isset or empty in laravel file auth manager.php

protected function resolve($name) { $config = $this->getConfig($name);

    if (is_null($config)) {
        throw new InvalidArgumentException("Auth guard [{$name}] is not defined.");
    }

    if (isset($this->customCreators[$config['driver']])) {
        return $this->callCustomCreator($name, $config);
    }

    $driverMethod = 'create'.ucfirst($config['driver']).'Driver';

    if (method_exists($this, $driverMethod)) {
        return $this->{$driverMethod}($name, $config);
    }

    throw new InvalidArgumentException("Auth driver [{$config['driver']}] for guard [{$name}] is not defined.");
}



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2CRcipq
via IFTTT

Aucun commentaire:

Enregistrer un commentaire