<p>This is a bug that's been fixed in the next (post <a href="http://buildwithcraft.com/updates#build2635" rel="nofollow">2.3.2635</a>) release of Craft.</p>

CC BY-SA 3.0
2015-02-24T21:47:22.830Z
2015-02-24T21:47:22.830Z
Brad Bell
<p>Just Playing around with Craft and get this kind of error:</p>

<p>If I create a new locale and go to add it to a previously made section I get</p>

<blockquote>
  <p>Internal Server Error -> Undefined offset: 0</p>
</blockquote>

<p>I noticed that if I create a section after adding the locale I can then edit/remove/re-add locales without errors</p>

<p>(I'm on osx MAMP PRO - php 5.3.28 a module)</p>

CC BY-SA 3.0
2015-02-21T17:08:53.290Z
Can you reproduce the error with devMode enabled, then submit a ticket from your dashboard's Get Help widget so we can see if it's a bug in Craft?
Brad Bell
CC BY-SA 3.0
2015-02-22T20:41:01.567Z
I'm setting up a new environment to replicate the issue
Francesco Pensabene
CC BY-SA 3.0
2015-02-24T16:53:40.320Z
getting the exact same error in the exact same scenario. Also, for whatever reason I can't get devMode recognised from my general.php file, only when I set it to true for the * array.
erwinheiser
CC BY-SA 3.0
2015-02-24T16:59:56.397Z
submitted an error report as requested above.
erwinheiser
<localization>
Add locales to section causes error
# Add locales to section causes error

(Asked by: username_0 on 2015-02-21)

Just Playing around with Craft and get this kind of error:

If I create a new locale and go to add it to a previously made section I get

> Internal Server Error -> Undefined offset: 0

I noticed that if I create a section after adding the locale I can then edit/remove/re-add locales without errors

(I'm on osx MAMP PRO - php 5.3.28 a module)

**Tags:** localization
> **Comments:**
> **username_1**: Can you reproduce the error with devMode enabled, then submit a ticket from your dashboard's Get Help widget so we can see if it's a bug in Craft?  
> **username_0**: I'm setting up a new environment to replicate the issue  
> **username_2**: getting the exact same error in the exact same scenario. Also, for whatever reason I can't get devMode recognised from my general.php file, only when I set it to true for the * array.  
> **username_2**: submitted an error report as requested above.  

---

## 1 answers

### Answer by username_1 on 2015-02-24. Score: 1 | Accepted answer

This is a bug that's been fixed in the next (post [2.3.2635](http://buildwithcraft.com/updates#build2635)) release of Craft.


---

