• Resolved rgontech

    (@rgontech)


    I have the latest version of WordPress, The Events Calendar (free version) and Event Tickets (connected to Stripe) installed on GoDaddy. When trying to purchase a ticket, the page seems to timeout and gets directed to a “Nothing Here” page (404 error) and the URL shows:?https://mywebsiteURL/tickets-checkout/undefined. The purchase actually posts in Stripe, but gives the user the illusion that the payment failed. This is resulting in users trying again and again, and ending up with duplicate charges. This configuration was working perfectly for over a year, so this behavior just started about 10 days ago. I’ve tried everything, all the way down to reinstalling everything from scratch, but still running into the same error. Please help! I have some unhappy customers.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Support Darian

    (@d0153)

    Hi @rgontech

    I’m sorry to hear that you’re having this issue. Let me help you with this one.

    Could you check if there’s an error related to Event tickets from your error_log? We’d like to investigate further from there.

    If that doesn’t help, there could be a plugin/theme conflict on your end. Could you try running a conflict test??I suggest conducting these tests on a Staging Server.

    Moreover, please enable debugging on your staging site and try replicating the issue again. It should now show additional details on the error from the logs.

    Could you also provide the version of the following? This will help me understand how your system is set up.

    • PHP
    • WordPress
    • The Events Calendar
    • Event Tickets
    • Theme
    Thread Starter rgontech

    (@rgontech)

    Thanks for the assistance. I ran the conflict test, but that didn’t resolve the issue. Below is my configuration:

    • PHP (7.4)
    • WordPress (6.0.4) but the error also occurs on 6.2.1
    • The Events Calendar (6.0.13.1)
    • Event Tickets (5.5.11.1)
    • Theme (X Theme – v.10.2.4)

    I enabled debugging, and found the following error:

    [19-May-2023 05:42:56 UTC] tribe-canonical-line channel=default level=debug source=”Tribe\Tickets\Promoter\Triggers\Dispatcher::trigger” type=ticket_purchased error=”License Key must be present.”

    • This reply was modified 1 year, 9 months ago by rgontech.
    Thread Starter rgontech

    (@rgontech)

    I provided the information you requested 2 days ago. I’m still stuck here.

    Plugin Support Darian

    (@d0153)

    Hi @rgontech

    If you have a staging version of your live site, could you enable the debugging from there, enable only The Events Calendar and Event Tickets plugins, use a basic theme (e.g. 2020 theme), and try to replicate the issue once again?

    If that doesn’t help, please check the debug.log for errors and share them in this thread.

    Moreover, do you have server-side caching? If so, please try to disable them temporarily and check if that makes a difference.

    Let me know how it goes.

    Please do not share any credentials, this is for us to follow the WordPress Forum Guidelines.

    Thread Starter rgontech

    (@rgontech)

    Sorry for the delayed response. Ok, so I tried this on my staging instance as instructed, with only the Twenty Twenty-One theme activated, and no other plugins installed other than Event Calendar and Event Tickets. I also enabled debugging.

    I created an event and test ticket (priced at $.50 for the test) and attempted to purchase it. I got the same error. Upon final checkout, it appears as the payment is processing, but after about 10 seconds, I get redirected to a 404 page. The resulting URL is: “https://arizonafolklore.com/reservations/undefined”. This is the exact same problem I’ve been getting all along, so going “bare bones” didn’t make a difference. Below is the output of the debug.log file:

    [03-Jun-2023 18:36:18 UTC] tribe-canonical-line channel=default level=debug source=”Tribe\Tickets\Promoter\Triggers\Dispatcher::trigger” type=ticket_purchased error=”License Key must be present.”

    Thread Starter rgontech

    (@rgontech)

    Let me add that the purchase actually goes through, and I get receipt and ticket emails. The only thing broken is the final page redirect. It goes to 404 instead of the success page.

    Plugin Support Darian

    (@d0153)

    Hi @rgontech

    Thanks for your response.

    Could you confirm if you have selected a Success Page from Tickets > Settings > Payments page? If so, could I request the page URL from your staging site?

    See- https://share.getcloudapp.com/4guXb2bL

    Looking forward to your reply.

    Thread Starter rgontech

    (@rgontech)

    Yes, that’s exactly how I have my Success Page configured.

    Here is the link to my staging site:

    https://www.arizonafolklore.com/reservations/events/

    Hi @rgontech

    Thanks for the update.

    On your staging site, please try the following:
    1. Create a new page, add the following shortcode: [tec_tickets_success] and select the page in the Tickets > Settings > Payments?page.
    2. Next, enable the test mode in Tickets> Settings>Payments> General and make sure to connect the sandbox stripe account: https://share.getcloudapp.com/YEu4vmGD

    Also, on your live site, please try to disconnect and reconnect the Stripe account. Take a backup before you do in case there are issues with the reconnect, so you can restore.

    Let me know once done.

    Plugin Support Darian

    (@d0153)

    Hi @rgontech

    I hope you’re doing well. I just wanted to touch base and check in with you. It’s been a little while since we’ve heard from you. I was just curious if you had the chance to try out the recommendation provided above.

    Let me know if there’s anything I can assist you with.

    Thread Starter rgontech

    (@rgontech)

    Hi, @d0153 and @dd15061995,

    I tried everything you asked and still get redirected to the same page. Below is a link to a screenshot of what I get after checking out. After spinning for about 20 seconds, this is the page I see: https://www.arizonafolklore.com/img/afp-error.jpg

    Thread Starter rgontech

    (@rgontech)

    At this point, this situation has caused us to lose customers and damage our organization’s reputation. I really need this figured out!

    Plugin Support Darian

    (@d0153)

    Hi @rgontech

    I’m sorry to hear that you’re still facing issues. Rest assured, I will notify the team and provide you with updates as soon as I receive more information.

    Have you tried disabling server-side caching and checking if that improves the situation?

    Looking forward to your reply.

    Plugin Support Darian

    (@d0153)

    Hi @rgontech

    Our team has identified that the 404 error you encountered is due to a Fatal error that may occur during the purchase process.

    In order to investigate the issue, kindly try to complete the purchase again. Check for any Fatal errors in the debug.log and error log, and then share the details here.

    If you require additional assistance locating the error log, kindly reach out to your hosting provider.

    Thread Starter rgontech

    (@rgontech)

    Error log output follows:

    [20-Feb-2023 10:00:24 America/Phoenix] PHP Fatal error: Uncaught Error: Call to undefined function each() in /home/mm40rq8ybr0w/public_html/mail_test.php:2957
    Stack trace: 0 /home/mm40rq8ybr0w/public_html/mail_test.php(768): SMTP->Data() 1 /home/mm40rq8ybr0w/public_html/mail_test.php(588): PHPMailer->SmtpSend() 2 /home/mm40rq8ybr0w/public_html/mail_test.php(3481): PHPMailer->Send() 3 {main} thrown in /home/mm40rq8ybr0w/public_html/mail_test.php on line 2957
    [20-Feb-2023 10:00:47 America/Phoenix] PHP Fatal error: Uncaught Error: Call to undefined function each() in /home/mm40rq8ybr0w/public_html/mail_test.php:2957
    Stack trace: 0 /home/mm40rq8ybr0w/public_html/mail_test.php(768): SMTP->Data() 1 /home/mm40rq8ybr0w/public_html/mail_test.php(588): PHPMailer->SmtpSend() 2 /home/mm40rq8ybr0w/public_html/mail_test.php(3481): PHPMailer->Send() 3 {main} thrown in /home/mm40rq8ybr0w/public_html/mail_test.php on line 2957
    [20-Feb-2023 12:55:30 America/Phoenix] PHP Fatal error: Uncaught Error: Call to undefined function each() in /home/mm40rq8ybr0w/public_html/mail_test.php:2957
    Stack trace: 0 /home/mm40rq8ybr0w/public_html/mail_test.php(768): SMTP->Data() 1 /home/mm40rq8ybr0w/public_html/mail_test.php(588): PHPMailer->SmtpSend() 2 /home/mm40rq8ybr0w/public_html/mail_test.php(3481): PHPMailer->Send() 3 {main} thrown in /home/mm40rq8ybr0w/public_html/mail_test.php on line 2957
    [20-Feb-2023 12:59:54 America/Phoenix] PHP Fatal error: Uncaught Error: Call to undefined function each() in /home/mm40rq8ybr0w/public_html/mail_test.php:2957
    Stack trace: 0 /home/mm40rq8ybr0w/public_html/mail_test.php(768): SMTP->Data() 1 /home/mm40rq8ybr0w/public_html/mail_test.php(588): PHPMailer->SmtpSend() 2 /home/mm40rq8ybr0w/public_html/mail_test.php(3481): PHPMailer->Send() 3 {main} thrown in /home/mm40rq8ybr0w/public_html/mail_test.php on line 2957
Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Event Tickets – 404 Page at checkout’ is closed to new replies.