Home › Forums › Calendar Products › Events Calendar PRO › Conflict between 3.2 and WP E-Commerce
- This topic has 30 replies, 3 voices, and was last updated 12 years, 3 months ago by
Neill.
-
AuthorPosts
-
November 7, 2013 at 10:34 am #75171
liblogger
ParticipantHi there – just implemented the latest update, and we’re encountering a conflict between EC Pro 3.2 and WP E-commerce (version 3.8.12.1). (I have gone through the process of turning off all the plugins and switching to the TwentyTwelve theme as per your guidelines)
In the List and Picture views, the “upcoming” events being displayed are incorrect – it’s currently missing about a week’s worth of events in November, then after some of this month’s events it displays a few events from October and September. The Month and Week views seem to be okay, but the Day view also displays this same selection of seemingly random events on today’s view (going to a specific date, including today’s, displays only that day’s events, but switching from any of the other views without a date in the filter reverts to the incorrect list of events).
(In the long term we want to switch away from using WP E-Commerce, but as you seem to be working towards a WP E-Commerce ticketing plugin…)
November 7, 2013 at 12:16 pm #75214Kelly
ParticipantHi, liblogger. Thanks for bringing up this issue that you’re seeing.
While I’m able to see it on your site, I’m not able to see it on mine (running Twenty Twelve with only TEC 3.2, ECP 3.2, and WPEC 3.8.12.1 activated). I also notice that when I go to another page on the calendar on your site and then go back using the browser’s back button, the events appear as they should.
Is it possible there’s something else going on here?
I would encourage you to try again with that setup and test it out. Please let us know how it goes! 🙂
November 8, 2013 at 7:19 am #75369liblogger
ParticipantHi there – it really doesn’t seem to be a theme issue. I’ve tried it with both TwentyTwelve and TwentyEleven, and the problem still happens. I’ve also tried updating our offline version (which, admittedly, I should have done before updating the live site), and it has the same problem, displaying a random selection of past events in the List, Picture and Day views.
You’re right, it does seem to display correctly when browsing back as well as when using the next/previous links, but unfortunately that’s not how people use the site – if they see the incorrect information, they’re not likely to go into past events, and they’ll be discouraged or assume that we’ve not updated the website since September, neither of which is something we want happening.
I know that there was a conflict between WP E-commerce and WordPress’s pagination, but I turned the WP E-commerce pagination off when I realised that was screwing up our post archives, so it shouldn’t still be causing problems?
I’m not sure what else I can do to ‘test’ the setup? Turning everything else off only shows me the same results, and the debug mode in Events Calendar doesn’t seem to be logging anything.
November 11, 2013 at 7:16 am #75621liblogger
ParticipantI’ve reverted our live site to v3.1 – if you let me know what I should be looking for in the test site that’s still running 3.2 with this conflict, I can see if I can pin down the problem.
November 12, 2013 at 5:05 am #75764liblogger
ParticipantI’ve set up a copy of our site with every plugin except the events calendar, ECPro and the WP E-Commerce site deactivated, and the TwentyTwelve theme instead of our custom theme, and the problem of upcoming events displaying incorrectly in the List, Day and Picture views persists. It occurs both in the main events page when switch the view, and when using links like the ‘View All N’ events on the month view. I’ve also noticed problems with recurring events displaying weirdly – either link to the first event instead of the one that should have been linked to, or displaying ‘This event has passed’, or not displaying all the recurring events when asked.
The test copy of our site is at crashtest.womenslibrary.org.uk
November 13, 2013 at 8:41 am #76259Neill
MemberThis reply is private.
November 13, 2013 at 9:01 am #76266liblogger
ParticipantHi Neill – your reply is marked private, so I can’t read it – was it intended for me or is it internal?
November 13, 2013 at 9:12 am #76268Kelly
ParticipantSorry about that, liblogger. Here’s what Neill said:
I’m sorry that you are having to deal with this issue. Kelly asked me to jump in here and see if I can get to the bottom of this one. I’ve read through all the issues you are having above and tried my best to also replicate on my end but with no success.
How would you feel about us taking a look at your admin settings on the test site? Is there a way that you can give us a temporary login to take a look around? You can reply here in a private reply and we’ll make sure that the creds stay safe.
Thanks! 🙂
November 13, 2013 at 9:17 am #76270liblogger
ParticipantSure – I’ll create a login for the test site and post it asap.
November 13, 2013 at 9:27 am #76276liblogger
ParticipantThis reply is private.
November 13, 2013 at 9:37 am #76280Kelly
ParticipantThanks, liblogger! We’ll be in touch after we have a chance to check it out.
November 13, 2013 at 5:09 pm #76366Neill
MemberHi lilblogger,
Thanks for the info you provided – I was able to login and see the issue. It looks as if there is a conflict that is causing events that are not passed to show up as passed. This is why the events are not showing up in list view.
I have passed this info on to one of the developers on the team who will be looking at this as soon as he can. We’re hoping to figure out if this is something we can fix on our side. Once we know a little more we will get back to you. In the mean time I’ll also work with the developer to see if there is an option of a work-around.
Thank you for all your detailed info and help so far, I can understand how frustrating this must be especially on a live site, so we’ll do all that we can to dig deeper on this one for you.
Neill
November 14, 2013 at 3:23 am #76399liblogger
ParticipantThanks Neill, I appreciate it.
November 20, 2013 at 10:33 am #77646Neill
MemberHi Liblogger,
Thank you for your patience on this. I got to work with a couple of our developers about this. None of us were able to recreate this on our own local installs, but we did find an SQL error on your side that led us to dig a little deeper. It’s a very specific scenario that so far we can only see happening on your install.
We have a fix for this in the form of a little piece of code that needs to be inserted in wp-e-commerce/wpsc-core/wpsc-functions.php. Somewhere after wpsc_generate_product_query hooks in, do this:
if ( $priority = has_action('pre_get_posts', 'wpsc_generate_product_query') ) {
add_action( 'pre_get_posts', '__return_null', $priority );
}
That prevents corruption of the $wp_filter array while it’s looping.
Let me know if this works on your end or if you have any question about this.
Neill
November 25, 2013 at 6:48 am #78432Kelly
ParticipantHi, liblogger. I just wanted to check in and see if Neill’s solution did the trick for you. Please let us know, so that we can continue troubleshooting, if not! 🙂
-
AuthorPosts
- The topic ‘Conflict between 3.2 and WP E-Commerce’ is closed to new replies.
