WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] A shadow event... (27 posts)

  1. pif
    Member
    Posted 10 months ago #

    Hello,

    I am using v5.4.4. of Wp-events.

    I noticed a few days ago that the counter of events to be published, waiting for reviews, is different on the side column than in the plugins' lists.

    In other words, the side colum displays a "1", noticing me that an even is awaiting approval. But when I check the waiting events, there are none.

    Any idea how to fix this ? :-/

    http://wordpress.org/plugins/events-manager/

  2. caimin_nwl
    NetWebLogic Support
    Posted 10 months ago #

    Hi,

    I'm not 100% sure what you mean. Which side column do you mean?

  3. pif
    Member
    Posted 10 months ago #

    The left menu column.

  4. caimin_nwl
    NetWebLogic Support
    Posted 10 months ago #

    Ah, you mean in Admin?

    Are your sure you're not looking at a page using the "wrong" filter? I mean something like having the filter set to Future Events instead of All Events? Or something like that...

  5. pif
    Member
    Posted 10 months ago #

    Good idea. I checked, but it doesn't seem to be the issue.

    I currently have a number "3" in the admin panel. When I hit events listing, I see that "pending events" displays the number "2". When I check these events, only two events are displayed. I checked : they are all here (All events).

  6. philipjohn
    Member
    Posted 10 months ago #

    Hiya,

    First of all, can you try updating to the latest version please? I believe we've seen this before and so it may have been fixed in the latest version.

    Thanks,
    Phil

  7. pif
    Member
    Posted 10 months ago #

    Unfortunately, we cannot upload new versions on the main server, we first need to check that everything is working fine in dev platforms.

  8. caimin_nwl
    NetWebLogic Support
    Posted 10 months ago #

    Do you have an offline / dev server you could run a check on?

    I'm thinking you could export / import the database of the site with the problem to see if it still appears with the latest version of Events Manager.

  9. pif
    Member
    Posted 10 months ago #

    Yes, that's what we will end up doing. I was hoping for a quicker fix, maybe a known issue, or like you said, some setting overlooked. Thanks.

  10. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 10 months ago #

    Can you check your wp_em_events table for records with event_status = 0?

    Chances are you'll see 3 there, one being the odd-one out.

  11. Beee
    Member
    Posted 10 months ago #

    I am running the latest version and (I think) I'm experiencing something similar.

    I've made 3 screenshots to explain what I see.

    This is a screenshot from my submit page on freerides.org/events/submit
    http://i.imgur.com/KD31CYM.jpg
    It shows 22 upcoming (which is correct) and 101 past, which should be 102.

    I made a new query in the sidebar which queries all published post which have post_type=event and counts them. As you can see I have 124 events, which also shows from the admin.

    This is the published future events (22 events)
    http://i.imgur.com/JvMVb3y.jpg

    This is the publihsed past events (102 events)
    http://i.imgur.com/cVjzIMk.jpg

  12. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 10 months ago #

    Thanks for the info, but unfortunately this doesn't help... what I need is access to a site that reproduces this consistently, because aside from one-offs on individual sites we simply can't reproduce this.

    There is however some hope now... a user has submitted a site that I can now reproduce a similar problem with locations. I'm not sure it's the same problem with events (or if it's even exactly this problem, because it's creating duplicate locations), but once I figure the reason behind it I can see if it could affect events too.

  13. Beee
    Member
    Posted 10 months ago #

    I can give you access to my site, no prob...

  14. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 10 months ago #

    if you can reproduce this problem, then yes that'd be helpful. If not then there'd be little I can do without seeing the problem in action.

    Can you send the info to http://wp-events-plugin.com/contact-us/ and also reference this url so we know it's you?

  15. Beee
    Member
    Posted 10 months ago #

    will do right away

  16. pif
    Member
    Posted 10 months ago #

    Well, now I have 2 events to approve in the menu bar, and none really. :-/ #ThePlotThickens

  17. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 10 months ago #

    @pif, can you reproduce this problem, e.g. submit an event as a normal user?

    If so, I could take a look at your site and debug the issue further. I'd need FTP and admin info sent to the contact form above.

  18. Beee
    Member
    Posted 10 months ago #

    On another site I now have 152 published locations, which shows correctly, as can be seen on http://www.yogaindebuurt.nl/yoga-scholen/.
    7 pages with 20 locations each and 1 page with 12 locations.

    Admin
    http://i.imgur.com/t2kH3Ka.jpg

    MySQL
    http://i.imgur.com/ShYmziG.jpg

    Then it shows I have 185 locations. That's 33 'ghosts'...
    Still need to check which are the 'odd ones', but will take a bit...

  19. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 10 months ago #

    Try this SQL statement:

    SELECT * FROM wp_em_events LEFT JOIN wp_posts ON post_id=ID WHERE ID IS NULL

    for locations:

    SELECT * FROM wp_em_locations LEFT JOIN wp_posts ON post_id=ID WHERE ID IS NULL

  20. Beee
    Member
    Posted 10 months ago #

    first query returns zero results... which is weird, because after deleting all events through the admin (and checking in MySQL as well, to make sure), still 1 published event remains, but I can't get it to show in the results.
    Also doesn't show on http://www.yogaindebuurt.nl/evenementen/

    second query returns 28 results... (still 5 ghosts then...)
    does it maybe have to do with switching from posts to pages or vice versa ?

  21. angelo
    NetWebLogic Support
    Posted 10 months ago #

    still 1 published event remains, but I can't get it to show in the results.
    Also doesn't show on http://www.yogaindebuurt.nl/evenementen/

    hmm, am seeing 1 publish event at http://www.yogaindebuurt.nl/evenementen ?

  22. Beee
    Member
    Posted 10 months ago #

    yes, that is created by me....

    I found the 'ghost' entry in the db and deleted it...

  23. pif
    Member
    Posted 9 months ago #

    Thank Marcus for your reply. Unfortunately, I cannot reproduce the problem, since these events (wich are 6 now) are appareaing randomly as far as I can tell...

    We use the same process for creating hundreds of events each week. Some day, one new shadow event appear... and I strictly don't know why.

  24. angelo
    NetWebLogic Support
    Posted 9 months ago #

    I see, however is this happening more on recurring events or in normal non-recur events?

  25. pif
    Member
    Posted 8 months ago #

    normal events I guess, since I don't have access to them, can't really tell.

    But here's a new thing. I *think* it is happening when someone is resubmitting a published event, when he does not have publishing rights.

    I use the submission form and some people have a dedicated calendar account. To prevent spam and low quality entries, I did not grant the right to publish to outside users.
    BUT apparently, they can edit published events (despite my settings) and that's probably somewhat sending the event in a gray zone, waiting for approval but not appearing in any event listing...

  26. caimin_nwl
    NetWebLogic Support
    Posted 8 months ago #

    Are you able to reproduce this consistently when following the steps you think are causing the problem?

  27. pif
    Member
    Posted 7 months ago #

    Hello,

    Sorry for the late reply.

    Yes, I have been able to reproduce the problem. Shadow Events happens when someone without publishing rights accesses a published event, modifies it and then try to republish it.

    It withdraws the event from the published state (wich is normal) but does not add him back into the "submitted" list. Therefore, there are unpublished and not findable.

    Thank you for your help on this.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.