epiphany icon indicating copy to clipboard operation
epiphany copied to clipboard

Problem in EpiSession.php on line 58 fixed

Open tunnckoCore opened this issue 11 years ago • 2 comments

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

tunnckoCore avatar Jan 20 '14 14:01 tunnckoCore

I solved in this way :

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

ghost avatar Sep 29 '14 18:09 ghost

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

bars38 avatar Mar 25 '15 16:03 bars38