Answers.Body: <p>i removed <code>{slug}</code> altogether from an Asset field definition.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-17T14:51:04.140Z
Answers.LastActivityDate: 2017-05-17T14:51:04.140Z
Answers.UserDisplayName: isral
Body: <p>I tried to add a Category Select field into a Neoblock but when i first saved the entry I received the following error:</p>
  
  <blockquote>
    <p><strong>Internal Server Error</strong> </p>
    
    <p>Could not resolve the subpath “{slug}”.</p>
  </blockquote>
  
  <p>I removed the Neo Block with the Category Select but the error persists.</p>
  
  <p>Any ideas?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-13T22:46:22.937Z
Comments.Text: Do you have `{slug}` set for any of the settings in the fields inside of Neo?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-15T13:03:21.507Z
Comments.Text: Yes, @BradBell, i have a field using Categories to filter entries via the Categories fieldtype in a neo subblock. That field is saved and visitors can see final page, but no more changes can be saved.
  
  It began when I tried to use the same Category for a second, different filter on this page. Reverting DD, template files have not fixed the issue. Even trying to remove the data associated with the original usage of the Category has not helped (because i can't save it).
  
  Thank you.
  
  ![screenshot.](https://www.dropbox.com/s/8yv2e9fhzmy8vik/neo-categories.png?dl=0)
Comments.UserDisplayName: isral
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-15T13:54:48.147Z
Comments.Text: Update: recreating the page 1 block at a time, it seems this issue is also happening when i try to add an Asset.
Comments.UserDisplayName: isral
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-15T16:42:14.827Z
Comments.Text: @BradBell Hi, will changing `{slug}` to `{owner.slug}` affect data previously entered while using `{slug}`?
Comments.UserDisplayName: isral
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-15T16:43:19.537Z
Comments.Text: Currently using v 2.6.2980
Comments.UserDisplayName: isral
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-15T18:17:06.730Z
Comments.Text: Yeah, my guess is you need to update that to `{owner.slug}` and after making that change, you'd need to re-save any existing entries using that field.
Comments.UserDisplayName: Brad Bell
Tags: <categories><craft-pro><plugin-neo>
Title: Why do I get 'Could not resolve the subpath “{slug}” after trying to add a category select to a Neo field?
ThreadText: # Why do I get 'Could not resolve the subpath “{slug}” after trying to add a category select to a Neo field?
  
  (Asked by: username_0 on 2017-05-12)
  
  I tried to add a Category Select field into a Neoblock but when i first saved the entry I received the following error:
  
  > **Internal Server Error**
  >
  > Could not resolve the subpath “{slug}”.
  
  I removed the Neo Block with the Category Select but the error persists.
  
  Any ideas?
  
  **Tags:** categories, craft-pro, plugin-neo
  
  > **Comments:**
  > **username_1**: Do you have `{slug}` set for any of the settings in the fields inside of Neo?  
  > **username_0**: Yes, @username_1, i have a field using Categories to filter entries via the Categories fieldtype in a neo subblock. That field is saved and visitors can see final page, but no more changes can be saved.  It began when I tried to use the same Category for a second, different filter on this page. Reverting DD, template files have not fixed the issue. Even trying to remove the data associated with the original usage of the Category has not helped (because i can't save it).  Thank you.  ![screenshot.](https://www.dropbox.com/s/8yv2e9fhzmy8vik/neo-categories.png?dl=0)  
  > **username_0**: Update: recreating the page 1 block at a time, it seems this issue is also happening when i try to add an Asset.  
  > **username_0**: @username_1 Hi, will changing `{slug}` to `{owner.slug}` affect data previously entered while using `{slug}`?  
  > **username_0**: Currently using v 2.6.2980  
  > **username_1**: Yeah, my guess is you need to update that to `{owner.slug}` and after making that change, you'd need to re-save any existing entries using that field.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-05-17. Score: 1 | Accepted answer
  
  i removed `{slug}` altogether from an Asset field definition.
  
  
  ---
  
  