• Resolved ryanses

    (@ryanses)


    Hi Guys, as of this morning I noticed this error appearing at the bottom of my site’s pages:

    Warning: htmlspecialchars(): charset `UTF-7′ not supported, assuming utf-8 in /home/portwashingtonpd/public_html/wp-includes/formatting.php on line 3981

    I have the latest version of wordpress, Im using the elegant themes divi theme (all up to date) and checked all the plug ins for errors but it all seems fine.
    The hosting company also said things are fine on their end.

    Any help would be great.

    Thank you

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    In your wp-config.php file, what do have set for “DB_CHARSET”

    Thread Starter ryanses

    (@ryanses)

    Hi Steve!

    Set this way :

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Look at your wp_options table with PHPMYADMIN. Search for the key “blog_charset”. What doe it say? It should probably be “UTF-8”. If it’s “UTF-7” try changing it.

    Thread Starter ryanses

    (@ryanses)

    Thanks Steve, Hmm, Yes the blog_charset setting in the wp_options table under phpmyadmin is set to UTF-8. So weird, any other potential solutions?

    Thread Starter ryanses

    (@ryanses)

    Cant imagine why this issue has popped up so randomly as I use this same theme on many sites and have many of the same settings updating at the same time. Any further help would be greatly appreciated.

    @ryanses Not really sure about any other solution. But, i suggest to check your wp-config file and try to check this issue by changing your theme.

    Does you any custom functionality on your site?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Scan for “UTF-7” using https://ww.wp.xz.cn/plugins/string-locator/ and install the WordFence plugin to make sure all files match what’s in the repository. (Check the WF scan options to enable that before running your first WF scan.)

    Thread Starter ryanses

    (@ryanses)

    Thanks guys, Installed WF & String locator – doing the scan now, thank you.

    Thread Starter ryanses

    (@ryanses)

    this came up from the WF scan-
    Should I choose to delete the file?

    ISSUE
    File appears to be malicious: eg.htm
    Filename: eg.htm
    File Type: Not a core, theme or plugin file.
    Issue First Detected: 8 secs ago.
    Severity: Critical
    Status New
    This file appears to be installed by a hacker to perform malicious activity. If you know about this file you can choose to ignore it to exclude it from future scans. The text we found in this file that matches a known malicious file is: “Hacked By Dr.SiLnT HilL”. The infection type is: Defacement:PHP/Dr.Silnt.

    Tools:
    View the file.
    Delete this file (can’t be undone)

    Select for bulk delete
    Resolve:
    I have fixed this issue
    Ignore until the file changes.
    Always ignore this file.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Delete the file, but you’ve been hacked.

    Take a deep breath and carefully follow this guide. When you’re done, you may want to implement some (if not all) of the recommended security measures.

    If youโ€™re unable to clean your site(s) successfully, there are reputable organizations that can clean your sites for you. Sucuri and Wordfence are a couple.

    Thread Starter ryanses

    (@ryanses)

    Due to the sensitivity of this site I need to work with someone who can help right away. Can you suggest? Or will Sucuri and Wordfence work just fine?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I’m sure they’d be ready to start as soon as you contact them.

    Thread Starter ryanses

    (@ryanses)

    Thanks! On it now, indeed, eager to help! ๐Ÿ™‚ Ill be back soon.

    Thread Starter ryanses

    (@ryanses)

    Working with Sucuri to help fix the problem. ๐Ÿ™‚ Great support, thanks for the tip Steve.

    Thread Starter ryanses

    (@ryanses)

    After a long day talking with Sucuri and paying for their services, the hacked content is gone but the same error message is still at the bottom of the page even though they mentioned it was all clean. They are looking into it further…

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘Error Message `UTF-7′ not supported’ is closed to new replies.