You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Argument 1 passed to craft\services\Fields::getGroupById() must be of the type integer, null given, called in D:\inet_craft\public\vendor\craftcms\cms\src\base\Field.php on line 445 and defined in D:\inet_craft\public\vendor\craftcms\cms\src\services\Fields.php:268
Stack trace:
Make Matrix fields more scalable in the CP #3 D:\inet_craft\public\storage\runtime\compiled_templates\b7\b7e6ecae075cd56bc18f339d31d0fa53b98bd7574bffb48857195ee0c7cf5d73.php(276): craft\helpers\Template::attribute(Object(craft\web\twig\Environment), Object(Twig_Source), Object(craft\fields\Dropdown), 'group', Array)
Globals not available from renderObjectTemplate() #14 D:\inet_craft\public\storage\runtime\compiled_templates\6b\6b9db6fea1ebe277289415b38f52fc0bcc3aba5f4e73d2fca127e8f7ea36f75f.php(40): craft\web\twig\Template->display(Array, Array)
Drag-n-drop doesn't work on touch devices #19 D:\inet_craft\public\storage\runtime\compiled_templates\58\5818ca4bc8c8a51238ebc8e009518f7ea3df76a9d77a144d17ee204866a8e5d9.php(95): craft\web\twig\Template->display(Array, Array)
Looks like one of your fields is missing its group ID. Can you please send us a ticket from your Craft Support dashboard widget, including the DB backup, and reference this issue?
I had this issue after a botched install. For some reason Mariadb on my Amazon AMI had created a database with a dot in it and craft completely exploded from it:
> saving the first user ... done
Exception: SQLSTATE[42000]: Syntax error or access violation: 1102 Incorrect database name '#mysql50#.rocksdb'
This then caused issues with saving fields, and in turn viewing the list.
Solution was simply to delete the database, run rm -rf /var/lib/mysql/.rocksdb/ and start over
Description
/admin/settings/fields in CP throws
TypeError: Argument 1 passed to craft\services\Fields::getGroupById() must be of the type integer
Steps to reproduce
Additional info
Architect | 2.2.11
Asset Usage | 2.0.0-beta.2
Dumper | 1.3.1
Feed Me | 3.0.2.1
ImageOptimize | 1.4.44
oEmbed | dev-feature/craft-v3.1
Redactor | 2.1.6
SEOMatic |3.1.36
Tags | 1.0.1
Twitter | 2.1.3
TypeError: Argument 1 passed to craft\services\Fields::getGroupById() must be of the type integer, null given, called in D:\inet_craft\public\vendor\craftcms\cms\src\base\Field.php on line 445 and defined in D:\inet_craft\public\vendor\craftcms\cms\src\services\Fields.php:268
Stack trace:
The text was updated successfully, but these errors were encountered: