Glostog
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: PHP Warning HTML Special CharactersAh yes, This was someone else thread which I added to with the same problem. I did start a new topic which I have closed already; that explains the confusion.
best
SiForum: Fixing WordPress
In reply to: PHP Warning HTML Special CharactersThis topic is resolved as far as I’m concerned. I think the error messages are because of a bad link and WordPress correcting the URL…
Now…. How do I mark the topic resolved?All best
SiForum: Plugins
In reply to: [Fast Secure Contact Form] invalid multibyte sequence…. Textarea escapes…Resolved. The error was in the link…
Many thanks
SiForum: Plugins
In reply to: [Fast Secure Contact Form] invalid multibyte sequence…. Textarea escapes…Hi MBR,
I don’t use a CDN, I use Wordfence on the site.
There was a real error. An old site was linking to the wrong URL and WordPress was correcting it (which is pretty bloody clever). π
This link has worked before without me realising that the URL was wrong, so the error has served its purpose allowing me to correct the error in routing. I still don’t understand why it shows the error it does, which would suggest a form problem, but hey-ho… The error itself is now sorted out.All best
SiForum: Plugins
In reply to: [Fast Secure Contact Form] invalid multibyte sequence…. Textarea escapes…OK, I’ve worked out the problem with mine….
Another site was linking through to “contact-me” rather than “contact”. It looks like WordPress was cleaning the link…
This still doesn’t explain why it started to happen recently as the linked from site has been around years. I’m also not sure that explains the actual error being reported (Text area element).
Si.
Forum: Fixing WordPress
In reply to: PHP Warning HTML Special CharactersOK, I’ve worked out the problem with mine….
Another site was linking through to “contact-me” rather than “contact”. It looks like WordPress was cleaning the link…
Si.
Forum: Fixing WordPress
In reply to: PHP Warning HTML Special CharactersThanks Hearvox. I have a Jetpack alternative contact page ready to go, I like that the current form redirects to a FAQ page after submission.
The page is doing what it’s supposed to functionally, it just produces this error. It’s definitely only started doing it in the last couple of weeks, certainly less than a month. I’m mentioning it in the spirit of clean code rather than a problem for me.Many thanks
Si.Forum: Plugins
In reply to: [Fast Secure Contact Form] invalid multibyte sequence…. Textarea escapes…I don’t always check the server logs. I first noticed these errors around a week-10 days ago. It could have been there before that but it wasn’t there a month ago.
Many thanksForum: Plugins
In reply to: [Fast Secure Contact Form] invalid multibyte sequence…. Textarea escapes…Hi MBR,
I have WordPress 4.0.1 the en-gb version.
Fast Secure contact form 4.0.30I see the errors in the server log, the form seems to function fine when I test it. I receive emails and it diverts to another page after completion. I don’t like not knowing why there is an error though.
Many thanks for your help.
SiForum: Fixing WordPress
In reply to: Please help – Errors showing up in my wp-includes/formatting filemarlene23, did you get anywhere with this?
All best
Si
Forum: Fixing WordPress
In reply to: PHP Warning HTML Special CharactersI’m getting the same thing from my Contact Form, I was putting it down to spambots or similar as the form functions properly and I get contact messages from it. I haven’t explored in depth and the messages only started to appear after the last WP update.
mod_fcgid: stderr: PHP Warning: htmlspecialchars(): Invalid multibyte sequence in argument in*****gloucesterphotographer/wp-includes/formatting.php on line 3205, referer: http://www.gloucesterphotographer.com/contact-me/
I started to get the same message but with line 3192 in formatting.php. I tweaked my contact form and the error message has moved to 3205.
line 3192 is this bit..
function esc_textarea( $text ) {
$safe_text = htmlspecialchars( $text, ENT_QUOTES, get_option( ‘blog_charset’ ) );
/**
* Filter a string cleaned and escaped for output in a textarea element.
*
* @since 3.1.0
*
* @param string $safe_text The text after it has been escaped.
* @param string $text The text prior to being escaped.
*/
return apply_filters( ‘esc_textarea’, $safe_text, $text );
}Sorry for rambling… I can’t figure it out but my contact page is pretty simple if it helps get to the bottom of it.
All best
SI