What causes this error, PHP Notice: Use of undefined constant
I just moved to new host
In this new host i always got error_log, even with this simple php file :
[PHP][/PHP]
this is the error_log content:
[09-Apr-2015 18:42:09 UTC] PHP Notice: Use of undefined constant Y - assumed 'Y' in /home/username/public_html/test.php on line 1
i can add single quote wrapping the Y like this to fix it [PHP][/PHP] but there are a lot of code like that, it is better if i dont need to change the files, but just change the hosting required, what is it actually? is it because using litespeed? in old hosting there is cgi-fcgi information 27961 in new hosting is using litespeed 27971
i can add single quote wrapping the Y like this to fix it [PHP][/PHP] but there are a lot of code like that, it is better if i dont need to change the files, but just change the hosting required, what is it actually? is it because using litespeed? in old hosting there is cgi-fcgi information 27961 in new hosting is using litespeed 27971
Please sign in to leave a comment.
Comments
1 comment