Event Tickets Plus & EDD

Home Forums Ticket Products Event Tickets Plus Event Tickets Plus & EDD

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1082516
    Gary
    Participant

    I’m getting an error on occasion that is displayed in the email sent to customers.
    I haven’t figured out what the common cause is of it:

    here’s an excerpt:
    Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in /home/wp_wn5z7s/jaxrestaurantreviews.com/wp-content/plugins/the-events-calendar/src/Tribe/Main.php on line 3048
    TICKET #

    8103
    TICKET TYPE

    PURCHASER

    [REDACTED]
    SECURITY CODE

    #1082845
    Geoff B.
    Member

    Good evening Gary and welcome back!

    Thank you for reaching out to us.

    We are sorry to hear about this error message, especially if it’s displayed in the email sent to customers 🙁
    I would love to help you with this topic.

    First and foremost, we need to rule out any plugin, template or customization conflicts.

    Could you also please go through our testing for conflicts procedure (preferably in a staging/dev environment or local install of your WordPress website) and let us know what you find out.

    Basically the goal here is to revert back to a bare WordPress installation to see if the problem persists. It also allows us to pinpoint what the cause of the issue is.

    If you still get the message with only basic plugins and a default WordPress theme activated, then I suggest simply overwriting the /the-events-calendar/src/Tribe/Main.php file with a fresh copy.

    Let me know how that goes.

    Best regards,
    Geoff B.

     

     

    #1082873
    Gary
    Participant

    Geoff,

    I guess the secondary problem I have is that I can’t replicate.
    I tried to do exactly what my customer did (purchase 2 tickets and then purchase another single ticket) but it worked fine. However, I did search my sent mail to see if any other messages had that error and I found one other one. It was for a customer that bought 1 ticket.

    90% of the time it works correctly.
    I will setup a local environment and test it. Is there an easy way to set it up to automatically feed it a lot of purchases to figure out when it breaks?

    #1083461
    Geoff B.
    Member

    Hey Gary,

    Thank you for being completely transparent.
    I’m with you, pinpointing an issue that is hard to replicate can take some time, as you know.

    Unfortunately, I am unaware of a method to feed a lot of purchases automatically in a testing environment (aside from standard QA testing tools which, to be honest, are not my forte).

    That being said, I did a little bit of extra research on the topic of that specific message.

    Based on my research results, I’m thinking that perhaps it would be more efficient to try to get a list of customer details and event details where this happened for trying to reproduce. And, if you have screenshots of the details of these, that would be awesome.

    Apparently, there are typically 2 main causes for this type of error:

    1. PHP versions of 5.3 and below (which is not your case)
    2. Presence of unexpected characters in the array

    Let me know if you can get a hold of such info.

    Have a great day!

    Geoff B.

    #1083640
    Gary
    Participant

    Thanks for the follow-up.
    Do you have any idea how to view the array data directly? I’d run a query of the post-meta, but I’m not actually sure if I’m looking at the order # or ticket #?
    Looking at the orders that sent a bad message the data in both of the orders looks correct in both EDD and The Events Calendar.

    Is there an option for turning on more verbose logging that I could enable until this is sorted?

    Thanks!
    Gary

    #1084118
    Geoff B.
    Member

    Hey Gary,

    That’s a great question.

    Whenever I am troubleshooting, I am a big fan of the following plugin (that lets you see pretty much all that’s going on): https://wordpress.org/plugins/debug-bar/

    Additionally, I would recommend taking a look at the following links:

    As stated before, I would love to get the details of the “rebellious” entries (at least screenshots) so that I can try to help you with the investigation.

    Also, have you tried overwriting the /plugins/the-events-calendar/src/Tribe/Main.php with a fresh copy ?

    Let me know how that goes.

    Best regards,
    Geoff B.

     

    #1089772
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Event Tickets Plus & EDD’ is closed to new replies.