Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-24T21:47:22.830Z
Answers.LastActivityDate: 2015-02-24T21:47:22.830Z
Answers.UserDisplayName: Brad Bell
Body: <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>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-21T17:08:53.290Z
Comments.Text: 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?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-22T20:41:01.567Z
Comments.Text: I'm setting up a new environment to replicate the issue
Comments.UserDisplayName: Francesco Pensabene
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-24T16:53:40.320Z
Comments.Text: 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.
Comments.UserDisplayName: erwinheiser
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-24T16:59:56.397Z
Comments.Text: submitted an error report as requested above.
Comments.UserDisplayName: erwinheiser
Tags: <localization>
Title: Add locales to section causes error
ThreadText: # 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.
  
  
  ---
  
  