Home › Forums › Calendar Products › Events Calendar PRO › Delete Recurring Classes on Thanksgiving
- This topic has 13 replies, 2 voices, and was last updated 8 years, 4 months ago by
Kelly.
-
AuthorPosts
-
November 16, 2017 at 7:05 am #1384563
Kelly
ParticipantI know I have done this in the past, but when I try to delete all my recurring classes that occur on Nov. 23, 2017, I am not getting the expected results?
I set the start date as Nov 23, 2017 and “Is”, and all the events that show up on the filter set are actually Dec. 14th, not Nov. 23rd. I am wondering if that is the date they were created? When I try to create a new filter set called Event Date, it does not show up in the drop down menu.
I know I have done this in the past and had no trouble. What am I missing??November 17, 2017 at 12:36 pm #1385975Andras
KeymasterHello Kelly,
Thanks for reaching out to us! Let me try to help you.
I take it this filtering is done on the backend on the event list with Advance Post Manager.
Could you please send me a screenshot of that page after you ran the filter? Something like on this screenshot.
I also see in your system information that EC PRO is quite an old version. Using mismatched versions can produce glitches. Updating the plugin to the most recent version is recommended, after creating a full site and database backup.
Thanks and cheers,
AndrasNovember 17, 2017 at 1:52 pm #1386018Kelly
ParticipantI did not see that the Events Pro had an updated version available. I updated the Events Calendar (it did say there was an update available for that), but there was nothing available on the plugin update list. I have a current license, so I should certainly qualify for any updates, but have gotten -0- messages about any updates available for months now.
I updated the EC plugin, and still get same results – see screenshot attached.November 21, 2017 at 1:21 am #1387800Andras
KeymasterHello Kelly,
I check both your live site and the staging site (franchise) and it still looks like you are using Events Calendar Pro 4.3.1.1 on both. Our current Pro version is 4.4.19.
If you have entered your Pro license key under Events > Settings > Licenses tab then you should see an update notification on your plugins page, similar to this. (Sometimes the updates don’t immediately show up on the Dashboard > Updates page.)
Here are two articles that can help you with running an update:
Please let me know if you need any help with the updates, and if the issue is still there with the newest versions.
Cheers,
AndrasNovember 22, 2017 at 6:17 am #1388949Kelly
ParticipantI had my developer update the plugin, because, although it may have been simple, it was not simple for me. So, we are updated now, but the issue is not resolved. I sent a screenshot of the results I get when I filter for 11/23/17. Oddly, I now get all events on 12/20, which, although an improvement over the previous results, is still not what I requested;). I included another screenshot.
November 22, 2017 at 6:19 am #1388950Kelly
ParticipantIf you can’t figure out where this disconnect is, maybe you can just figure out what date I should select to return results of all classes on 11/23/17 – okay that was just a joke! I realize being snarky is difficult via chat.
November 23, 2017 at 3:09 am #1389863Andras
KeymasterHey Kelly,
:)))
Well, if November 23 gives you December 20, then you could try October 27 if that gives you November 23. 🙂 (Worth a shot.)
I see you have 4 pages worth of events when filtering for Nov. 23. If you go to page 4 what start dates do you see there? Is that still Dec. 20?
There are 2 things we can do as next.
1. Run a conflict test. Basically deactivate all plugins except for the calendar ones and APM and check if that solves it. That can eliminate the possibility of a plugin conflict.
2. Can you share with me a copy of your database? I will try to check around a bit.
Andras
November 27, 2017 at 7:02 am #1392382Kelly
ParticipantYes, the 4 pages are all Dec. 20th.I can share a copy of my database – if you tell me how to do that.
November 27, 2017 at 7:06 am #1392387Kelly
ParticipantI just tried October 27th, that gave me 9.5 pages of Dec. 25, with the remaining 1/2 page devoted to Dec. 23rd and 24th. Which, will help me in deleting my Christmas Day classes, I guess.
Whatever the logic is, we are going to need to learn to think like a computer to figure this one out;).November 28, 2017 at 12:59 am #1393485Andras
KeymasterHi Kelly,
You can use this plugin to create a backup of you database and download it as a file.
Most probably it will be too big to upload here in the forums, so you can share it via a cloud service like dropbox (or whatever your preference) and share the link to it here in a private reply.
Let me know if you need further help.
Cheers,
AndrasNovember 29, 2017 at 6:17 am #1394727Kelly
ParticipantHey! I couldn’t figure out how to add the plugin you sent (I suspect the Add New button is disabled by our developer). So, I forwarded the instructions, etc onto our website developer and he figured out the issue. He sent this along to me, which may mean more to you than it does to me. But I thought it might be useful for your team:
WordPress runs the main query twice in the Admin (I never noticed this before, not sure if it’s default or some plugin causing it). Once seemingly right away, and once again right before the main wp-list-table element is printed (actually before tablenav-pages).
In the ECP Date_filter.php file ( events-calendar-pro/src/Tribe/APM_Filters/Date_Filter.php ) line 74, the “where” function is removed so that it’s only called once per page load. So, it’s called on the first query but not in the query that’s actually used to show the Admin table of posts.I print_r the request string at the ‘posts_request’ filter to verify that the query is bein run twice and that the second time it has no reference to my date details (but doe in the first one).
To prove it out, I went ahead and temporarily commented out that line and all of our date filters work again; the WHERE data is in the ”posts_request’ string both places and the correct events show.
[code] // remove_filter( ‘posts_where’, array( $this, ‘where’ ), 10, 2 ); [/code]
Doing some more tests, the Dates, Title, & Description filters all have the same issue – the filters do nothing. Commenting out that line makes it work as expected. Hoping for a longer term solution, but it shows the problem at least.
Title_Filter.php – line 43
Content_Filter.php – line 32
Date_Filter.php – line 73The Venue, Organizer, & Recur Filter files have no such remove_action and work as expected.
Using:
WP (Multisite) Version 4.8.3
The Events Calendar – Version 4.6.6
The Events Calendar PRO – Version 4.4.19November 30, 2017 at 3:10 am #1395579Andras
KeymasterHello Kelly,
I’m happy to hear that your developer has found a workaround. I will relay the information to our dev team and see what they can make of it.
My hunch is that another plugin or some customization is interfering somehow with Advanced Post Manager, as we haven’t heard any other reports of this issue. Running a conflict test might help uncover that.
I will leave the thread open for now, in case you do the conflict testing and want to share the results. Also I will let you know if we manage to uncover something.
Cheers,
AndrasDecember 22, 2017 at 8:36 am #1411665Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Delete Recurring Classes on Thanksgiving’ is closed to new replies.
