• Resolved Miflon

    (@miflon)


    Hy every body,

    My actual configuration
    – WordPress Version : 4.4.2
    – PHP/MySQL Version de : 7.0.3/5.6.28
    – My theme : TheNews 2.0 (Flexithemes)
    – Plugins : All In One WP Security 4.0.6 / Contact Form 7 4.4 / really Simple Captcha 1.8.0.1 / WordPress File Upload 3.7.3
    – Web hosting : o2switch
    – Site address: ucrives.fr

    The problem : I work on a localhost. When I activate a plugin of my own, I receive that warning:
    The plugin has generated 3 unexpected display caracters during activation. If you see a message “headers already sent” …
    I not sure of my translation! Despite having that message, my plugin works fine.

    Please, can you tell me what is going wrong, Michel.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Miflon

    (@miflon)

    File encoding was wrong. It must be UTF-8 (without BOM)

    Michel.

    Moderator bcworkz

    (@bcworkz)

    I’m glad you figured it out! For the sake of anyone landing here from search, another cause of this same error is whitespace after the final closing ?> PHP tag on the page. To avoid this, simply omit the closing tag, it’s not required.

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

The topic ‘Unexpected display caracter’ is closed to new replies.