epiphany
epiphany copied to clipboard
Problem in EpiSession.php on line 58 fixed
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
I solved in this way :
$employ = array(EpiSession::employ());
$class = array_shift($employ);
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