Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

FatalErrorException in ConvertEmailLoginCommand.php line 45 #932

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

FatalErrorException in ConvertEmailLoginCommand.php line 45 #932

danielfowler opened this issue Sep 7, 2016 · 2 comments

Comments

@danielfowler
Copy link

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
Copy link
Member

Change the line the error references from:

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

to:

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

@jasonvarga
Copy link
Member

Leave it open, I need to fix it :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants