This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

mapleberry
mapleberry

Hi Guys,

I'm trying to update 447 to 455 and I get an error as (but got same error from 454 to 455):

Update failed "Declaration of October\Rain\Auth\Manager::attempt(array $credentials = Array, $remember = false) must be compatible with Illuminate\Contracts\Auth\StatefulGuard::attempt(array $credentials = Array, $remember = false, $login = true)" on line 11 of vendor\october\rain\src\Auth\Manager.php

Correction :

Change in vendor\october\rain\src\Auth\Manager.php (line 352)

public function attempt(array $credentials = [], $remember = false)
{
    return !!$this->authenticate($credentials, $remember);
}

to:

public function attempt(array $credentials = [], $remember = false, $login = true)
{
    return !!$this->authenticate($credentials, $remember, $login);
}

wil resolve the error.

Please add this to your next update.

Regards,

mapleberry

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.