<p>i removed <code>{slug}</code> altogether from an Asset field definition.</p>

CC BY-SA 3.0
2017-05-17T14:51:04.140Z
2017-05-17T14:51:04.140Z
isral
<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>

CC BY-SA 3.0
2017-05-13T22:46:22.937Z
Do you have `{slug}` set for any of the settings in the fields inside of Neo?
Brad Bell
CC BY-SA 3.0
2017-05-15T13:03:21.507Z
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)
isral
CC BY-SA 3.0
2017-05-15T13:54:48.147Z
Update: recreating the page 1 block at a time, it seems this issue is also happening when i try to add an Asset.
isral
CC BY-SA 3.0
2017-05-15T16:42:14.827Z
@BradBell Hi, will changing `{slug}` to `{owner.slug}` affect data previously entered while using `{slug}`?
isral
CC BY-SA 3.0
2017-05-15T16:43:19.537Z
Currently using v 2.6.2980
isral
CC BY-SA 3.0
2017-05-15T18:17:06.730Z
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.
Brad Bell
<categories><craft-pro><plugin-neo>
Why do I get 'Could not resolve the subpath “{slug}” after trying to add a category select to a Neo field?
# 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, @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)  
> **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**: @BradBell 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.


---

