• Hi,

    if i would like to save a post, i get an fatal error


    [22-Aug-2019 08:56:10 UTC] PHP Fatal error: Uncaught InvalidArgumentException: incorrect post type in /PATH/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post.php:69
    Stack trace:
    #0 /PATH/wp-content/plugins/types/application/models/field/group/repeatable/service.php(605): Toolset_Field_Group_Post->__construct(Object(WP_Post))
    #1 /PATH/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php(381): Types_Field_Group_Repeatable_Service->group_contains_rfg_or_prf(37)
    #2 [internal function]: Toolset_Field_Group_Post_Factory->{closure}(Object(OTGS\Toolset\Common\Field\Group\GroupDisplayResult))
    #3 /PATH/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php(258): array_filter(Array, Object(Closure))
    #4 /PATH/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/p in /PATH/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post.php on line 69

    With echo
    echo self::POST_TYPE . ' / ' . $field_group_post->post_type;
    i get
    wp-types-group / revision

    If i deactivate your Plugin the post is save correctly.

  • The topic ‘post type Error with Toolset’ is closed to new replies.