Skip to content

Saving new entries where entry URI format contains filter throws error #2995

@chasegiunta

Description

@chasegiunta

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

  1. Create New Section, "Test Section"
  2. Set entry URI to test-section/{type.name|kebab}/{slug} (or test-section/{{object.type.name|kebab}}/{slug} will also work).
  3. Attempt to create new entry in newly created section.

Additional info

  • Craft version: Craft CMS 3.0.11
  • PHP version: 7.1.17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions