mydive
Chevereto Member
Hi...
the site has been working along quite fine for a few days after the update to 3.5.5 - then this morning i logged into check on it, and this is what i've been greeted with.
Parse error: syntax error, unexpected '[' in /home/mydive/public_html/app/loader.php on line 123
any ideas where this would have come from?
this is line 123
if(Login::getUser()['timezone'] !== Settings::get('default_timezone') and G\is_valid_timezone(Login::getUser()['timezone'])) {
thanks
john
the site has been working along quite fine for a few days after the update to 3.5.5 - then this morning i logged into check on it, and this is what i've been greeted with.
Parse error: syntax error, unexpected '[' in /home/mydive/public_html/app/loader.php on line 123
any ideas where this would have come from?
this is line 123
if(Login::getUser()['timezone'] !== Settings::get('default_timezone') and G\is_valid_timezone(Login::getUser()['timezone'])) {
thanks
john