Need some help - php warning!


(margarida osswald) #1

Sorry, I don’t have a clue about this message, that appears after I published the site… can anyone help ?
“PHP Warning: Unexpected character in input: ‘’ (ASCII=92) state=1 in E:\home\primeiroenxoval\Web\index.php on line 335
PHP Warning: Unexpected character in input: ‘’ (ASCII=92) state=1 in E:\home\primeiroenxoval\Web\index.php on line 335
PHP Parse error: syntax error, unexpected T_STRING in E:\home\primeiroenxoval\Web\index.php on line 335”


(Doug Bennett) #2

Without seeing it in context (URL would be helpful) it’s hard to say for sure.
An ASCII 92 is a backslash \ that’s about all I can tell from the message.


(Joe Workman) #3

Make sure that your host is running the latest version of PHP. Preferably PHP v7.2


(Yabdab) #4

This may help…


(margarida osswald) #5

Thank you all for the input; I think it is - as Joe pointed out - because of the php version… (Unfortunately clients do have the tendency to buy cheap hosting plans… - now, to change the php version they are running, which is 5.2, they need to upgrade the plan…hehehe…)


(system) #6

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.