Support » Plugin: CPT-onomies: Using Custom Post Types as Taxonomies » Notice: Undefined property: WP_Error::$term_id

  • I’m getting this error when trying to loop the custom type posts that are actually used as taxonomies with the help of CPT-onomies plugin:

    Notice: Undefined property: WP_Error::$term_id in D:\xampp\htdocs\website\wp-includes\post.php on line 5953

    This is the query I’m using for the loop:

    $loop = new WP_Query( array( ‘post_type’ => ‘clip’, ‘posts_per_page’ => -1 ) );

    Custom post type “clip” is being used as taxsonomy.

    Please help!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Notice: Undefined property: WP_Error::$term_id’ is closed to new replies.