I get the error-log on all my backdrop sites filled up with:
"mbstring.http_input is deprecated in Unknown on line 0"
Is it from the .htaccess file or is there a problem somewhere?
Could it be from converting the databases to utf8?
Sites functions fine though.
Comments
Deprecated functions normally happen when you are using a different version of PHP... have a look at the original version and change your new one to that.
Hope this helps.
8.2 on both.
Do you see "mbstring.http_input" in your .htaccess or if you search your codebase?
Yes, there are several lines with that - as well as "mbstring.http_output".
This is from the 'recommended' htaccess - I just changed it as per last upgrade. Can those lines be eliminated?
I recommend opening an issue for core: https://github.com/backdrop/backdrop-issues/issues
Those deprecated php values may only be needed in the .htaccess file for PHP 5 and can/should be removed for the rest, but it would be good to get additional feedback on it.
Thank you
I will remove the lines and see what happens.
Commenting out these six lines have no effect on site - works as should.
But I still get these two lines:
Hello @Egmund,
PHP 5.x era features.
What these functions are, what they do and how to deal with them.
These functions are certainly implicated in mult-language site(s).
They are/were features of the "Multi Byte String" (mbstring) PHP extension, which enables PHP to encode "non Roman" character sets like Chinese, Japanese and the like.
Are you aware (enough) of what the mbstring PHP extension does and how it works? Backdrop, being a PHP application, relies on it for multi-lingual "stuff".
Sources:
https://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.http-input
https://www.php.net/manual/en/intro.mbstring.php
https://www.interserver.net/tips/kb/what-is-mbstring-and-how-to-enable/
g.
----
Have no time for this. It is a 'flaw' in BackdropCMS