• The problem started after copying the files to the new server.
    On the old server, everything is ok.

    Parse error: syntax error, unexpected T_ENDWHILE in index.php on line 1

    [Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

Viewing 1 replies (of 1 total)

The topic ‘The problem with an error T_ENDWHILE’ is closed to new replies.