• Resolved setevoy

    (@setevoy)


    Hi.

    After today’s update to 1.6.2 – I got problem with WP Theme Google Chrome.

    Screenshot here.

    If I disabple plugin – everything OK.

    Also, when activating it – got message:

    > When acrtivating plugin produced 2 symbols of unknown code. If you find error “headers already sent”, problems with RSS – try deactivate it.

    (translated from Rus, so isn’t exactly message)

    Nothing in log-file, unfortunatelly (NGINX + PHP-FPM).

    https://wordpress.org/plugins/html-editor-syntax-highlighter/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Same here. Breaks both Admin and the front-end. The plugin is apparently adding an   non-breaking space inside the body tag right at the beginning.

    Developer: html-editor-syntax-highlighter.php has an empty line on line 49 at the end of the file after the closing ?> php tag. It’s better to omit the closing PHP tag at the end of the file to avoid problems like this.

    Thread Starter setevoy

    (@setevoy)

    @austen Blokker Thnaks for replay.

    But – I don’t see empty line:

    42         }
     43 }
     44
     45 if (is_admin()) {
     46         $hesh = new wp_html_editor_syntax();
     47 }
     48 ?>
    ~
    ~
    ~

    Just make sure there is no extra space character after the ?> on line 48. I also found there is a space character on the very first line, very first character, that should be removed as well.

    Thread Starter setevoy

    (@setevoy)

    Fixed in 1.6.3.
    THanks to developer.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘1.6.2 upgrade breaks WP theme’ is closed to new replies.