Viewing 2 replies - 16 through 17 (of 17 total)
  • Had the same problem… Here is a quick fix:

    Go into plugins/types/wpcf.php and edit the lines starting at #166 from this…

    // Add taxonomies
        $custom_taxonomies = array_keys( (array) get_option( 'wpcf-custom-taxonomies',
                        array() ) );
        $taxonomies = array_merge( array_combine( $custom_taxonomies,
                        $custom_taxonomies ), get_taxonomies() );

    To this…

    // Add taxonomies
    $custom_taxonomies = array_keys( (array) get_option( 'wpcf-custom-taxonomies',
                        array() ) );
    
        if(count($custom_taxonomies))
            $custom_taxonomies = array_combine( $custom_taxonomies, $custom_taxonomies );
        $taxonomies = array_merge($custom_taxonomies , get_taxonomies() );

    This should work as a temporary fix until the next update.

    Still keep getting various errormessages…

    `Warning: Invalid argument supplied for foreach() in /plugins/types/embedded/functions.php on line 69

    Warning: Invalid argument supplied for foreach() in /plugins/types/embedded/includes/custom-types.php on line 82

    This happens in addition to the errors upon creation / saving post types…

    Uninstalled the plugin… hope the author will solve this issue soon. Waiting over a month isn’t a very good sign.. shame…it was a very nice plugin.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Error after editing Custom Post Type’ is closed to new replies.