Skip to content
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

Problem in EpiSession.php on line 58 fixed #86

Open
tunnckoCore opened this issue Jan 20, 2014 · 2 comments
Open

Problem in EpiSession.php on line 58 fixed #86

tunnckoCore opened this issue Jan 20, 2014 · 2 comments

Comments

@tunnckoCore
Copy link

I think Epiphany is great and run examples in localhost, i.e. examples/login/.
But appear this error Warning: array_shift() expects parameter 1 to be array, null given ... EpiSession.php on line 58 and its correct.

Just change to

if ($employ) {
    $class = array_shift($employ);
}

Best regards

@ghost
Copy link

ghost commented Sep 29, 2014

I solved in this way :

$employ = array(EpiSession::employ());
$class = array_shift($employ);

@bars38
Copy link

bars38 commented Mar 25, 2015

I still got such an error in than I use examples of login
Warning: array_shift() expects parameter 1 to be array, null given in C:\OpenServer\domains\em.local\epiphany\src\EpiSession.php on line 58

arnebr added a commit to arnebr/epiphany that referenced this issue Jan 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants