Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Types warnings on clear install while creating first CPT and tax

$
0
0

I have installed Types, Views and CRED on a clean install and when trying to add my first CPT and taxonomy, I get a list of warnings (this is the gist for the CPT issue):

On lines 160 and 169 of wpcf.php there is an

array_merge

call that expects certain conditions – like having at least 1 element in the arrays, which is not the case in a clean install with no post types and taxonomies before the setup. This should be avoided by skipping the array_merge call for the first addition of a post type and taxonomy (i.e. if the arrays are empty).

The server is running WP 3.5.2 and PHP 5.3.26.


Viewing all articles
Browse latest Browse all 20145

Trending Articles