Viewing 14 replies - 1 through 14 (of 14 total)
  • Similar issue here, in our case tag archive broke; we’re back on 0.9.8.3. Mind you, that makes all of us vulnerable to the security exploit that was fixed in the latest version.

    Same problem here. How do we fix this issue?

    Got just the same Problem.

    Downgraded to Version 0.9.7.13 as mentioned by jcrea.

    Some information about what happens in the script. The query shown the results in archive, tag and category pages is filtered to type “post”:

    SELECT SQL_CALC_FOUND_ROWS  wp_311_posts.ID
    FROM wp_311_posts
    INNER JOIN wp_311_term_relationships ON (wp_311_posts.ID = wp_311_term_relationships.object_id)
    WHERE 1=1
    AND wp_311_term_relationships.term_taxonomy_id IN (16)
    AND wp_311_posts.post_type = 'post' ### problem line
    AND (wp_311_posts.post_status = 'publish' OR wp_311_posts.post_status = 'private')
    GROUP BY wp_311_posts.ID ORDER BY wp_311_posts.post_date DESC LIMIT 0, 40

    Same issue.
    I downgraded to 0.9.8 and it is working again for me.
    I will try going back up to 0.9.8.3 now.

    I went back to 0.9.8.3 myself. I am not updating any of our CCTM plugins until we see a new update higher than 0.9.8.6+ to fix this issue.

    Tested every version from 0.9.7.11 on and 0.9.8.3 is the last version for functioning categories on my sites. Must be related to the lone fix listed in the 0.9.8.4 Changelog: Fixed problem with hierarchical post-types (https://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=534)

    Attempted to fix myself but couldn’t spare the time so I’m back to 0.9.8.3 for now.

    Note: You can manually change the version number on your 0.9.8.3 plugin installation to 0.9.8.6 so you won’t be bothered to upgrade until the next version hits the channel…

    Took another quick look at the commits on GitHub and noticed the following commented-out code in loader.php starting with version 0.9.8.4:

    // Enable archives for custom post types
    // add_filter('request', 'CCTM::request_filter');

    Re-enabling the code in 0.9.8.6 restores the archive functionality. Not sure if this was an oversight or not. Any ideas would be welcome…

    So this will definitely fix the issue if we upgrade and make this change? If so, thank you for taking time out of your own schedule and giving us a solution here! I work with CCTM on a daily basis! Off the subject, I also noticed the media custom field or image uploader freezes the page when using them both in custom posts types or pages/posts I will open a thread to that issue myself.

    Yes, I believe so. I’m currently running 0.9.8.6 with that filter re-enabled on all my sites and category archives are functioning as expected. Hopefully we’ll hear from the plugin author soon…

    I wouldn’t count on it – personally I’ve switched away to a combination of CPT UI and ACF. Too bad Everett decided to go premium when his software starts to break.

    Confirming that the solution outlined by rmeck above does fix the issue.

    It’s not a great situation though.

    Thank you rmeck! I spent hours trying to figure why categories and tags archives stopped displaying.
    After several months with no plugin update to fix this issue, how can we trust it again?
    I’m studying Pods plugin instead.

    This worked for me too. rmeck’s advice will solve the issue. I haven’t had a problem since I have made this change.

    Yes..rmeck’s answer is the only solution working till now. Six months since the OP.. we could have gotten a permanent solution from the author.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Category Archives for custom post type not working.’ is closed to new replies.