• When I add a new Field Group and then Add Field to that group, it doesn’t stick. Viewing all the Field Groups for either POST or USER, it just shows me an empty list like I didn’t create anything.

    I tried adding define(‘TYPES_USE_STYLING_EDITOR’, true) in my functions.php and now Any Field Group I try to create, for Post Fields or User Fields, generates the following errors in the Fields Styling Editor:

    Notice: Undefined index: args in /srv/bindings/518a4123b5874c2c9ce67e2d5258e17f/code/wp-content/plugins/types/library/toolset/types/embedded/includes/fields-post.php on line 417 Fatal error: Uncaught TypeError: Argument 1 passed to Types_Wpml_Field_Group::__construct() must be an instance of Types_Field_Group, null given, called in /srv/bindings/518a4123b5874c2c9ce67e2d5258e17f/code/wp-content/plugins/types/library/toolset/types/embedded/includes/fields-post.php on line 419 and defined in /srv/bindings/518a4123b5874c2c9ce67e2d5258e17f/code/wp-content/plugins/types/application/models/wpml/field_group.php:35 Stack trace: #0 /srv/bindings/518a4123b5874c2c9ce67e2d5258e17f/code/wp-content/plugins/types/library/toolset/types/embedded/includes/fields-post.php(419): Types_Wpml_Field_Group->__construct(NULL) #1 /srv/bindings/518a4123b5874c2c9ce67e2d5258e17f/code/wp-content/plugins/types/library/toolset/types/includes/classes/class.types.admin.edit.custom.fields.group.php(677): wpcf_admin_post_meta_box(Object(WP_Post), Array, 1, true) #2 /srv/bindings/518a4123b5874c2c9ce67e2d5258e17f/code/wp-content/plugins/types/library/toolset/types/includes/classes/class.types.admin.edit.custom.fields.group.php(644): Ty in /srv/bindings/518a4123b5874c2c9ce67e2d5258e17f/code/wp-content/plugins/types/application/models/wpml/field_group.php on line 35

    It was also causing PHP Errors so I took out the // define(‘TYPES_USE_STYLING_EDITOR’, true)

    Anything I can do to get the Field Groups to show up?

    Thanks
    Dana

Viewing 1 replies (of 1 total)
  • Anonymous User 14808221

    (@anonymized-14808221)

    The define (‘TYPES_USE_STYLING_EDITOR’, true) is only used to add a Style Editor to the Fields, and it’s deprecated, and will currently throw errors.
    This is not to be used right now.

    Related to the Field Group not showing up, this is either a Server issue (As example we have an user on “Pressable” Server, that has the same problem) or a Limit of some settings like max_input or the available memory on the server.

    What I need here is a Server Log, of when you try to add a Field.

    It is very possible that the Fields will be visible after some time (24hrs) if you are on specific servers.

    We need a Server log so I can see the error happening.

    Of course this also needs to be tested with Types only, to be sure you do not deal with a conflict of compatibility.

Viewing 1 replies (of 1 total)
  • The topic ‘Unable to create a Field Group’ is closed to new replies.