HTTP ERROR 500
Auteur : Amir S.
Visité 2201,
Followers 1,
Partagé 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 ?
Posté le
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!
Auteur
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
Auteur
I think
This problem is related to the PHP code that the software generates.
Auteur
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.
Auteur
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.