Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Kikismedia's avatar

Getting error 500 when deploying a project

This page isn’t workingnairashops.com is currently unable to handle this request. HTTP ERROR 500

The hosting I am using to host this project is GoDaddy Economy Linux

On my namecheap hosting immediately I deploy the project it's working perfectly

When I checked my error log I got this , how can I solve this issue

Mon Sep 12 07:20:14.909535 2022] [lsapi:error] [pid 279036:tid 139839571490560] [client 105.112.102.23:54485] [host nairs.com] Backend fatal error: PHP Parse error:  syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/acza1jn46bcz/public_html/vendor/psr/log/src/LoggerInterface.php on line 30\n
[Mon Sep 12 07:19:52.869673 2022] [lsapi:error] [pid 279036:tid 139839707858688] [client 105.112.102.23:54486] [host nairs.com] Backend fatal error: PHP Parse error:  syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/acza1jn46bcz/public_html/vendor/psr/log/src/LoggerInterface.php on line 30\n
0 likes
2 replies
tykus's avatar

PHP 8.0 introduced Union types - your web server is not running on PHP >= 8.0

1 like

Please or to participate in this conversation.