Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Closed
chasegiunta opened this issue Jun 14, 2018 · 0 comments
Closed

Comments

@chasegiunta
Copy link
Contributor

chasegiunta commented Jun 14, 2018

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant