Skip to content

[5.x]: Error when trying to use an entries field with the handle "author" #16684

@JayBox325

Description

@JayBox325

What happened?

Description

I can create the "authors" field, but when I use it on an Entry Type, I have a non-descriptive "could not save entry type" error message when I try to save it. The logs display this:

Entry type not saved due to validation error. {"memory":2925696} 

If 'author' is a forbidden word this should be caught earlier. To get around it I changed the handle to "articleAuthor" and it worked.

Craft CMS version

5.6.5.1

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions