Conflict between 3.2 and WP E-Commerce

Home Forums Calendar Products Events Calendar PRO Conflict between 3.2 and WP E-Commerce

Viewing 15 posts - 1 through 15 (of 31 total)
  • Author
    Posts
  • #75171
    liblogger
    Participant

    Hi 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…)

    #75214
    Kelly
    Participant

    Hi, 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! 🙂

    #75369
    liblogger
    Participant

    Hi 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.

    #75621
    liblogger
    Participant

    I’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.

    #75764
    liblogger
    Participant

    I’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

    #76259
    Neill
    Member

    This reply is private.

    #76266
    liblogger
    Participant

    Hi Neill – your reply is marked private, so I can’t read it – was it intended for me or is it internal?

    #76268
    Kelly
    Participant

    Sorry 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! 🙂

    #76270
    liblogger
    Participant

    Sure – I’ll create a login for the test site and post it asap.

    #76276
    liblogger
    Participant

    This reply is private.

    #76280
    Kelly
    Participant

    Thanks, liblogger! We’ll be in touch after we have a chance to check it out.

    #76366
    Neill
    Member

    Hi 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

    #76399
    liblogger
    Participant

    Thanks Neill, I appreciate it.

    #77646
    Neill
    Member

    Hi 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

    #78432
    Kelly
    Participant

    Hi, 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! 🙂

Viewing 15 posts - 1 through 15 (of 31 total)
  • The topic ‘Conflict between 3.2 and WP E-Commerce’ is closed to new replies.