Warning after create Custom post type with Roots theme
I've created e Custom post type with Roots theme, adding the custom script inside functions.php like
require_once locate_template('/lib/custom-post-types.php'); // Custom post types
After that in backend the list of pages is not displayed, and in frontend show this Warning:
Warning: strpos() expects parameter 1 to be string, array given in /wordpress/wp-includes/query.php on line 2375
Warning: urldecode() expects parameter 1 to be string, array given in /wordpress/wp-includes/post.php on line 3901
Warning: urlencode() expects parameter 1 to be string, array given in /wordpress/wp-includes/formatting.php on line 3690
What could be?
Topic theme-roots custom-post-types Wordpress
Category Web