WordPress.org

Ready to get started?Download WordPress

Forums

Editorial Calendar
Inherit message and double items (28 posts)

  1. Ramoonus
    Member
    Posted 3 years ago #

    I get loads of [inherit] messages, one behind each post
    and posts appear several times on the calendar

    http://wordpress.org/extend/plugins/editorial-calendar/

  2. Zack Grossbart
    Member
    Plugin Author

    Posted 3 years ago #

    Thank you for using the Editorial Calendar. I'm sorry you're having trouble with it.

    Could you please give me a few more details about what is going on? A screen shot would help. Does every post appear several times? Can you include a screen shot? Do you have many other plugins installed?

    Thanks,
    Zack

  3. Ramoonus
    Member
    Posted 3 years ago #

    np, I will wait till WordPress 3.2 is officially released and let you know if the problem still exists

  4. Ramoonus
    Member
    Posted 3 years ago #

    running IE9, WP 3.2 RC4
    here is the screenshot:
    http://yfrog.com/h4oq9g

  5. Zack Grossbart
    Member
    Plugin Author

    Posted 3 years ago #

    Thank you for the screen shot. I tried the calendar with WordPress 3.2-RC3 on IE9 and I'm not seeing any posts with the status inherit. Do you have any suggestions for how I can reproduce this? Do you have any other plugins installed? Is there anything special about the way you created the posts that have this status?

    Thanks,
    Zack

  6. Ramoonus
    Member
    Posted 3 years ago #

    Hello Zack
    I could give you an account so you can take a look

    im running over 30 plugins
    but none should interfere with the posts

  7. Ramoonus
    Member
    Posted 3 years ago #

    you should have recieved an email by now with login data

  8. Zack Grossbart
    Member
    Plugin Author

    Posted 3 years ago #

    Thank you for giving me access. I was able to log in, but I can't see the calendar. You have to make me an author to see the calendar at all and an editor to see the posts you've added.

    Thanks,
    Zack

  9. Ramoonus
    Member
    Posted 3 years ago #

    np just gimme half a minute

  10. Ramoonus
    Member
    Posted 3 years ago #

    you got access

  11. Zack Grossbart
    Member
    Plugin Author

    Posted 3 years ago #

    Thank you very much. I poked around a little and you do have many posts with the status inherit. That status is normally reserved for attachments. I've tried making many attachments on my test blog, but I haven't been able to reproduce this issue.

    Do you have any plugins that changed the behavior of attachments or do anything special with them?

    Thanks,
    Zack

  12. Ramoonus
    Member
    Posted 3 years ago #

    I will mail you a list of the plugins I use

  13. rardnek
    Member
    Posted 3 years ago #

    I wanted to echo this post and say I'm having this problem too.

    I also have a ton of plugins, but I suspect the problem either relates to custom post types, custom taxonomies, or custom fields.

    It was after I introduced these features that the Ed Calendar got all screwy.

  14. Zack Grossbart
    Member
    Plugin Author

    Posted 3 years ago #

    I'm sorry you're having trouble with the plugin. Can you give me a few more details about what "all screwy" means?

    Thanks,
    Zack

  15. rardnek
    Member
    Posted 3 years ago #

    Hi Zack,

    By all screwy I mean, I started seeing all the "inherit" posts, similar to the screenshot that Ramoonus shared.

    I was in the process of converting a bunch of posts to the custom post type of review -- I used the plugin Post Type Switcher to change the post type value.

    As a result, I was touching dozens of posts to make simple updates. When I finished and looked at the Ed Calendar for my new post type, it was full of duplicate posts(reviews) that had the [inherit] text next to it. I can delete them manually but it is extremely laborous.

  16. Zack Grossbart
    Member
    Plugin Author

    Posted 3 years ago #

    Those posts with the status "inherit" are attachments to other posts. Normally they don't show up in the calendar because WordPress doesn't return them unless you ask for them specifically. Do you have any other plugins that might be changing the visibility of posts?

    Thanks,
    Zack

  17. rardnek
    Member
    Posted 3 years ago #

    I'm guessing the problem is the other plugin I use related to custom fields and post types ... It's likely occurring with the plugin "Custom Field Template". I'm not sure what it does under the covers, but it provides a nice UI for the custom fields I created. Perhaps how it handles saving that data under the covers uses the attachment functionality?

    I dunno, I just now that once I converted to custom post types with custom fields, things started looking messy in Editorial Calendar, namely due to the duplicate [inherit] titles.

    These inherit posts don't show up in the main post listing, so I didn't expect to see them in Ed Cal. I do some looking on their pages and see if others have encountered issues.

  18. Ramoonus
    Member
    Posted 3 years ago #

    I dont use custom post types

  19. Ramoonus
    Member
    Posted 3 years ago #

    solutions:
    DELETE FROM wp_posts WHERE post_type = 'inherit';

  20. Zack Grossbart
    Member
    Plugin Author

    Posted 3 years ago #

    I'm glad that worked for you, but I would caution other people to be careful before trying this. Using SQL to delete records from your WordPress database id definitely a varsity level move.

  21. Ramoonus
    Member
    Posted 3 years ago #

    i tried but i didnt seem to be the solution

  22. dvtdvt
    Member
    Posted 2 years ago #

    I just installed your calendar, and I am also getting INHERIT posts that are duplications of published posts. I thought it had to do with posts not added through Calendar, but I added a post the other day with your "new post" feature, saved it as a draft, then finished/posted it today and now I have the post that was published along with 2 with the same name saying Inherit on the same day. Another post I did last week has 5 instances of it with Inherit on the same day. This makes the calendar quite cluttered. It only appears to happen on posts I've published, not on drafts.

  23. vaseline52
    Member
    Posted 2 years ago #

    of the season the focus is on profiles , starting from the firm strong lines , and then slowly progressive to stable self-confidence. Each shuttle in which the people are burdened with the mission of fashion , different styles , there is no fixed strong wind . Leather Jinzhuang a suspense drama that led to gunfire in the gorgeous subtle staged .

    http://www.sac9chanel.com

  24. mudandroutes
    Member
    Posted 2 years ago #

    Can I add that I'm also getting the same error!
    It appears to add them as I save - suspect that they're revisions somehow appearing on the calendar? I tend to mess about a lot with my posts and save them often - so I've literally got 20 or so duplicates on a single day.
    I get them on posts, custom posts and on my drafts and published / pending posts both on my main site and on my test version which runs the same theme and plugins - I've got a load of them - bbPress, Buddypress, Gravity Forms and a ton of map based ones (WP-Geo, XML Google Maps), Quick Cache, Network Publisher, Advertisement Management, Analytics for WP, Captcha, Custom Post Type UI, Events Manager, Fancybox, GD Star RAting, GFCustom post types, Post Type Switcher, Search Everything,Tiny MCE advanced, Twitter VJCK, WP-Page Navi - plus a few I added after the bug crept in.. Using the Reviewit theme from Ghostpool.
    I'm gutted - as your plugin in awesome for scheduling my posts - so any light you can shed on this would be appreciated.

  25. DanYork
    Member
    Posted 2 years ago #

    I'm having the same issue. Running Editorial Calendar 1.8 on WordPress 3.3.1 and running WP in MultiSite mode. When I look at the calendar for published posts, I see multiple instances of [inherit] for each blog post. Here is a screenshot:

    https://skitch.com/danyork/g33pn/calendar-with-inherit

    While my site *does* use custom post types, this is the calendar for just regular old posts. I wondered if this had something to do with revisions, as the "[inherit]" posts all had links on the "View" link that included something like "-Revision-2" and all went to a 404 if you viewed them... but could be edited if you clicked the "Edit" link.

    In digging further, I found this example of the process a post goes through and noticed the "inherit" post status:

    http://codex.wordpress.org/User:MichaelH/Testing/Revisions

    I went looking through the code of the Editorial Calendar plugin and found this section where the list of posts is found:

    /*
         * When we get a set of posts to populate the calendar we don't want
         * to get all of the posts.  This filter allows us to specify the dates
         * we want.
         */
        function edcal_filter_where($where = '') {
            global $edcal_startDate, $edcal_endDate;
            $where .= " AND post_date >= '" . $edcal_startDate . "' AND post_date < '" . $edcal_endDate . "'";
            return $where;
        }

    I changed that to include AND post_status != 'inherit' as seen here:

    /*
         * When we get a set of posts to populate the calendar we don't want
         * to get all of the posts.  This filter allows us to specify the dates
         * we want.
         */
        function edcal_filter_where($where = '') {
            global $edcal_startDate, $edcal_endDate;
            $where .= " AND post_date >= '" . $edcal_startDate . "' AND post_date < '" . $edcal_endDate . "' AND post_status != 'inherit'";
            return $where;
        }

    And that is now working fine. I'll send this in to the email address for the plugin authors to let them know.

  26. mudandroutes
    Member
    Posted 2 years ago #

    Dan, you're a star!

    Works perfectly for me now, and as I'm rather compuslsive about clicking save every few minutes, my calendar had become rather a mess. Just to confirm that this works for all my custom post calendars as well.

    Lets hope the authors modify the code.

  27. mudandroutes
    Member
    Posted 2 years ago #

    Just to update - the new update doesn't rectify this - had to come back here to grab the solution again!

  28. Zack Grossbart
    Member
    Plugin Author

    Posted 2 years ago #

    Hello Everyone,

    Thanks to Dan York for finding the solution here. I'm sorry I didn't see the solution until now.

    I've applied a slightly different fix which filters out posts with a status of inherit. It will be part of the next release of the calendar.

    Thanks,
    Zack

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic