Page 1 of 1

Nucleus not working after updating

Posted: Sun Jan 22, 2017 7:45 pm
by heddo85
Hello,
I used to use Nucleus v. 3.65 and decided to upgrade it and then update it. Everything went fine until I launched my website, I got this error:
Parse error: syntax error, unexpected '[' in.... nucleus/libs/globalfunctions.php line 2984

Here's line 298

Code: Select all

            $remote_proxy_ip = explode(',' , $_SERVER["HTTP_X_FORWARDED_FOR"])[0];


Is there anything wrong? Thanks for your help.

Nucleus not working after updating

Posted: Sat Feb 04, 2017 1:56 am
by yama
" [0] " is unnecessary. Please delete it.