godbrain
godbrain

This is what I am getting now... any thoughts? Thanks

Access level to RainLab\User\Models\User::$loginAttribute must be public (as in class October\Rain\Auth\Models\User) D:\home\site\wwwroot\plugins\rainlab\user\models\User.php line 8

class User extends UserBase {

/**
 * @var string The database table used by the model.
 */
protected $table = 'users';

/**
ndcisiv
ndcisiv

Until a fix is pushed you can fix it yourself by opening /plugins/rainlab/user/models/User.php, finding the protected static $loginAttribute line and change it to public static $loginAttribute I've been told an update will be made soon, but I had to change this manually just to get my site to load again.

godbrain
godbrain

thanks for the response... I host my site on Azure so I don't edit files directly much there but I guess since the UI is down I won't be able to fix it any other way...

Thanks again

Daniel81
Daniel81

@godbrain

I had this issue also, but as @ndcisiv mentioned, if you update the file manually then run the update again, it will fix itself. It is correct on the GitHub repo.

godbrain
godbrain

I did fix it manually but that brings up an issue for me. When you go to do updates you can't choose which updates you want. You have to update all and if one plug in can break the whole site... that worries me moving forward...

Daniel81
Daniel81

@godbrain

Yeah that is an issue. Maybe raise it over on GitHub, see if Sam & Aleksey have anything in the pipeline regarding optional updates?

daftspunk
daftspunk

This will be fixed in the next build, plugins will no longer initialize for the system/updates page and command line, to stop incompatible plugins from halting the update process.

1-7 of 7