WestWeb
WestWeb

Reputation: 31

PHP Parse error: syntax error, unexpected T_STRING

I'm working in OsCommerece and getting this up in my error log

PHP Parse error: syntax error, unexpected T_STRING in public_html/includes/classes/seo.class.php(2206) : eval()'d code on line 1

Upvotes: 1

Views: 4427

Answers (1)

huysentruitw
huysentruitw

Reputation: 28141

Maybe just remove the <?php, ?> tags, as seo.class.php seems to run the input through eval()

mixed eval(string $code)

The code mustn't be wrapped in opening and closing PHP tags...

Upvotes: 1

Related Questions