When trying to create a new entry containing a Tag field. Instead of getting the editing screen, an error page shows up, preventing any editing whatsoever.
Steps to reproduce
Create a tag group
Create a field tag associated with the group in step 1
Add the field tag to an entry
try to create a new entry
Expected behavior
Expecting to see the editing of screen to create a new entry
Actual behavior
The following error message shows up:
TypeError: Cannot assign string to property craft\fields\Tags::$_tagGroupId of type int|false|null in /app/vendor/craftcms/cms/src/fields/Tags.php:190
What happened?
Description
When trying to create a new entry containing a Tag field. Instead of getting the editing screen, an error page shows up, preventing any editing whatsoever.
Steps to reproduce
Expected behavior
Expecting to see the editing of screen to create a new entry
Actual behavior
The following error message shows up:
Craft CMS version
4.0.0-beta.3
PHP version
8.1.3
Operating system and version
Macos 11.5.2
Database type and version
mysql-8.0
Image driver and version
No response
Installed plugins and versions