Description
Upon saving a new entry where the Entry URI format for that section includes a filter, Craft throws a error:
Argument 1 passed to craft\web\twig\Extension::kebabFilter() must be of the type string, null given
Steps to reproduce
- Create New Section, "Test Section"
- Set entry URI to
test-section/{type.name|kebab}/{slug} (or test-section/{{object.type.name|kebab}}/{slug} will also work).
- Attempt to create new entry in newly created section.
Additional info
- Craft version: Craft CMS 3.0.11
- PHP version: 7.1.17
Description
Upon saving a new entry where the Entry URI format for that section includes a filter, Craft throws a error:
Steps to reproduce
test-section/{type.name|kebab}/{slug}(ortest-section/{{object.type.name|kebab}}/{slug}will also work).Additional info