• Hello all,

    I have been having a problem with two websites. Every few days the error
    Parse error: syntax error, unexpected '<' in /public_html/wp-includes/default-widgets.php on line 1035

    Pops up. When I replace the default-widgets.php file the following error comes up:
    Warning: Cannot modify header information - headers already sent by (output started at /public_html/wp-includes/default-filters.php:215) in /public_html/wp-includes/pluggable.php on line 865

    Both sites also have only the default plug-ins installed.
    when I re-upload the entire wp-includes folder, the site works again.

    The error originally happened in 2.8.6, but I have downgraded to 2.8.4 and it is still occurring.

    Any help would be GREATLY appreciated. If more clarification is needed or any more information, please don’t hesitate to ask.

    Matt

Viewing 1 replies (of 1 total)
  • Had this problem with php include() and solved it by uploading a new copy of the included file. Made sure the new upload line endings were UNIX, not Mac, Dos, or UTF. Also made sure the file was UTF-8, not ISO-8829-1 or whatever else my text-editor might have done.

Viewing 1 replies (of 1 total)
  • The topic ‘Parse error: syntax error, unexpected ‘<‘ in wp-includes/default-widgets.php’ is closed to new replies.