1

Just updated Craft 2.6.3002 to 2.6.3017 and am getting the following error in the CP & front-end: Call to undefined function Craft\mb_convertOcase() /craft/app/helpers/StringHelper.php(558). On line 558 of this file, I have return mb_convert_case($string, MB_CASE_UPPER, static::UTF8);. Where is O coming from?

Screenshot of error & stack trace: Screenshot of error & stack trace

  • It is correct in their git. Copy the line github.com/craftcms/cms/blob/develop-v2/src/helpers/… or download the entire Craft folder and you should be fine. Bug reports don't belong here, please contact pixel and tonic directly if there are other issues – Robin Schambach Jun 8 '18 at 17:25
  • As I mentioned above, line 558 in my StringHelper.php file is correct. Also, how am I supposed to necessarily know ahead of time is something is indeed a bug? – Andrea DeMers Jun 8 '18 at 17:39
1

I performed a manual upgrade as documented at https://docs.craftcms.com/v2/updating.html#manually-updating and the error automagically disappeared. Therefore, it looks like there was a glitch in the One-click Updating in this particular case.

  • That's super weird... – Brad Bell Jun 8 '18 at 22:01

Not the answer you're looking for? Browse other questions tagged or ask your own question.