My Drupal 7 site on a shared host started showing these errors as described here:
Deprecated function: ini_set(): Use of mbstring.http_input is deprecated in include_once() (line 330 of /public_html/sites/default/settings.php).
Deprecated function: ini_set(): Use of mbstring.http_output is deprecated in include_once() (line 331 of /public_html/sites/default/settings.php). Basically, Drupal's way of detecting the status of mbstring was no longer working with PHP 5.6 so it incorrectly reports it as enabled.
Found out that this issue had been patched and committed to Drupal core as of 7.33. I was on 7.31 had to update anyway, so brought the version of Drupal to the latest 7.50 (which includes the fix from 7.33).
But I still had to switch the PHP version being used to 5.5 from 5.6 to get rid of the errors. The errors go away on PHP 5.5 but come back again with PHP 5.6. I'm baffled because I was under the impression that this issue was fixed with Drupal 7.33 and that it should no longer be an issue for PHP 5.6.
Any ideas on why this is still an issue with PHP 5.6?
Comments
I think I may have solved it.
I think I may have solved it. I had previously applied this code to settings.php as suggested here:
I thought I had removed those lines while I was trying different things but apparently I left them there even after switching the PHP version back to 5.6. I just tested by switching the PHP back to 5.6 yet again after removing those lines from settings.php and those errors have not come back!
zerobyte's fix worked for me
zerobyte's fix worked for me - thanks!
I had added those lines in a previous test upgrading from d6 to d8, but I've started a new test where I'm upgrading to d7 first (reasons having to do with problems migrating added cck fields within the image.module content type...)