Home › Forums › Ticket Products › Event Tickets Plus › Event Tickets Plus & EDD
- This topic has 6 replies, 3 voices, and was last updated 10 years, 1 month ago by
Support Droid.
-
AuthorPosts
-
February 26, 2016 at 9:29 am #1082516
Gary
ParticipantI’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 TYPEPURCHASER
[REDACTED]
SECURITY CODEFebruary 26, 2016 at 11:57 pm #1082845Geoff B.
MemberGood 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.February 27, 2016 at 4:11 am #1082873Gary
ParticipantGeoff,
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?February 29, 2016 at 10:50 am #1083461Geoff B.
MemberHey 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:
- PHP versions of 5.3 and below (which is not your case)
- 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.
February 29, 2016 at 5:46 pm #1083640Gary
ParticipantThanks 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!
GaryMarch 1, 2016 at 5:08 pm #1084118Geoff B.
MemberHey 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:
- https://en-ca.wordpress.org/plugins/debug-my-plugin/
- https://codex.wordpress.org/Debugging_in_WordPress
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.March 16, 2016 at 9:35 am #1089772Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Event Tickets Plus & EDD’ is closed to new replies.
