Skip to main content
1 of 2
BNetz
  • 470
  • 2
  • 13

EE 5.2: Parse error: unexpected '/' in … ee/legacy/libraries/Functions.php(627) : eval()'d code on line 27

I just have been noticed by Google Search Console that there are two pages with Soft 404 errors. So I cannot be sure when the error appeared first.

When calling the URL I get a blank page with the error:

Parse error: syntax error, unexpected '/' in /var/www/…/system/ee/legacy/libraries/Functions.php(627) : eval()'d code on line 27

The strange thing is that only 2 (of about 1.500 pages with the same template) are concerned - the other ones work correct. As far as I can see in those pages there is nothing special (like php-code or using snippets).

When I close the entry I get a 404; when I reopen it the error appears again.

Already tried to clear caches (EE-caches as well as local browser-caches).

Anyone with any idea about this? Thanks in advance!

BNetz
  • 470
  • 2
  • 13