New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FatalErrorException in ConvertEmailLoginCommand.php line 45 #932

Closed
danielfowler opened this Issue Sep 7, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@danielfowler

danielfowler commented Sep 7, 2016

2.1.7

I did a fresh install, added the Workshop addon, and refreshed addons. The resultant error:

FatalErrorException in ConvertEmailLoginCommand.php line 45:
syntax error, unexpected '->' (T_OBJECT_OPERATOR)
@jasonvarga

This comment has been minimized.

Member

jasonvarga commented Sep 7, 2016

Change the line the error references from:

if (! ($missing = $this->getUsersWithoutEmails($files))->isEmpty()) {

to:

$missing = $this->getUsersWithoutEmails($files);
if (! $missing->isEmpty()) {

@jasonvarga jasonvarga reopened this Sep 7, 2016

@jasonvarga

This comment has been minimized.

Member

jasonvarga commented Sep 7, 2016

Leave it open, I need to fix it :)

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