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

CC BY-SA 4.0
2018-06-08T22:01:44.313Z
That's super weird...
Brad Bell
CC BY-SA 4.0
2018-06-08T17:55:40.830Z
2018-06-08T17:55:40.830Z
Andrea DeMers
<p>Just updated Craft 2.6.3002 to 2.6.3017 and am getting the following error in the CP &amp; front-end: <code>Call to undefined function Craft\mb_convertOcase()</code> <code>/craft/app/helpers/StringHelper.php(558)</code>. On line 558 of this file, I have <code>return mb_convert_case($string, MB_CASE_UPPER, static::UTF8);</code>. Where is <code>O</code> coming from?</p>

<p>Screenshot of error &amp; stack trace: <a href="https://i.sstatic.net/GqZkh.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/GqZkh.png" alt="Screenshot of error &amp; stack trace"></a></p>

CC BY-SA 4.0
2018-06-08T17:25:20.313Z
It is correct in their git. Copy the line https://github.com/craftcms/cms/blob/develop-v2/src/helpers/StringHelper.php#L558 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
CC BY-SA 4.0
2018-06-08T17:39:26.440Z
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
<updating><updates>
Error: Call to undefined function Craft\mb_convertOcase() after updating to 2.6.3017
# Error: Call to undefined function Craft\mb_convertOcase() after updating to 2.6.3017

(Asked by: username_0 on 2018-06-08)

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](https://i.sstatic.net/GqZkh.png)](https://i.sstatic.net/GqZkh.png)

**Tags:** updating, updates
> **Comments:**
> **username_1**: It is correct in their git. Copy the line https://github.com/craftcms/cms/blob/develop-v2/src/helpers/StringHelper.php#L558 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  
> **username_0**: 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?  

---

## 1 answers

### Answer by username_0 on 2018-06-08. Score: 1 | Accepted answer

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.

> **Comments:**
> **username_2**: That's super weird...  

---

