Hello.

Message Warning: htmlspecialchars(): Invalid multibyte sequence in argument in check_plain() (line 1670 of /var/www/vhosts/4/112314/webspace/httpdocs/totapodroz.pl/includes/bootstrap.inc).

That above was my problem like probably many of you. My reason was litlle different that I've found on the internet.
I've got error above when was 2 conditions:
*node has field with AddThis_field
*node title has special polish signs (ąęćżźół)

After this solution https://www.drupal.org/node/1430166#comment-6647386 the problem gone! :)
/in my case it was line 1670 but the function is the same/

Maybe it is possible to implement this to core?

Comments

totap created an issue. See original summary.

joseph.olstad’s picture

Version: 7.41 » 7.65
mfb’s picture

Status: Active » Closed (works as designed)

I think this could be closed, as the warning is only emitted on PHP < 5.4 and is documented @ https://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/chec...

To fix the test failures see #3047844: [Regression] Tests fail on PHP 5.3