HTTP ERROR 500
Author: Amir S.
Visited 2131,
Followers 1,
Shared 0
hello
This page isn’t working
mrelectrobot.com is currently unable to handle this request.
HTTP ERROR 500
in file error_log show :
[30-Dec-2019 16:13:37 UTC] PHP Parse error: syntax error, unexpected '?' in /home/robelcom/public_html/res/x5engine.php on line 2426
[30-Dec-2019 16:13:39 UTC] PHP Parse error: syntax error, unexpected '?' in /home/robelcom/public_html/res/x5engine.php on line 2426
[30-Dec-2019 16:13:41 UTC] PHP Parse error: syntax error, unexpected '?' in /home/robelcom/public_html/res/x5engine.php on line 2426
in file x5engine.php show :
in line 2426 is : $value = $this->orderData['payment']['enc'] ?? $_COOKIE[$cookie_name];
what is problem ?
Posted on the
I don't know.
Do a full upload.
clear cache and cookies from the the browser.
visit page again, refresh with ctrl-F5
Hope this helps!
Author
ctrl+F5
Unfortunately the problem was not resolved
Even I have completely erased my Explorer history
This problem has been there for more than twenty days, which is
This problem arises when we click on the product card to move to the product page
Author
I think
This problem is related to the PHP code that the software generates.
Author
I did more than 10 full uploads
to do it 1 time should be sufficient.
Does it also happen with an other browser? Is the browser up to date?
Else delete the complete website from your hosting server, then do again a full upload.
Author
i find problem for my site
I had to update the PHP version on the server
Method 1: Upgrading Your PHP Version (Recommended)
This method would be the best way to solve the “Parse error: syntax error, unexpected T_FUNCTION” error. Specifically if it really originates from a use of new PHP features while you are running an outdated version. Running an updated PHP version could both solve these errors and upgrade your performance, so it’s a double win for you!
Most hosts would allow you to manually change the PHP version via the cPanel:
My problem was solved with the php update
thanks
Great,
That's a good solution.
thanks for the feedback.