Home › Forums › Ticket Products › Event Tickets Plus › Wrong URL inside QR code
- This topic has 4 replies, 4 voices, and was last updated 5 years, 11 months ago by Victor.
-
AuthorPosts
-
March 7, 2017 at 12:45 am #1250320valerioParticipant
Hi All.
I followed various threads about QR issues.
So I found the useful BRAD’s troubleshooting:
https://theeventscalendar.com/support/forums/topic/qr-reader-problems/
But my problem is that the url inside the QR is wrong:
https://www.myurl.it?event_qr_code=1&ticket_id=25499&event_id=25359
The right and working one is that one:
https://www.myurl.it?event_qr_code=1&ticket_id=25499&event_id=25359
How can I fix it?
THX========================
PLEASE LEAVE FOR SUPPORT
Reporting the same issue as: https://theeventscalendar.com/support/forums/topic/qr-reader-problems/March 7, 2017 at 1:41 am #1250332valerioParticipantSolved this way…
But I wonder why your code has this error…wp-content\plugins\event-tickets-plus\src\Tribe\QR.php
//$url = add_query_arg( 'event_qr_code', 1, home_url() ); $url = add_query_arg( 'event_qr_code', 1, home_url('/') );
March 7, 2017 at 6:53 am #1250395GeoffMemberHi @valerio,
Thanks for getting in touch and I’m so glad to hear you found a solution that works for you! Nice work!
I believe home_url() should return your site’s URL by default. However, some sites are configured with relative URLs or other methods than might make relative URLs necessary, as I think it is in your case.
Either way, I’ll be sure to bring this up with the development team in the event there’s a way we can possibly do this better without folks like yourself having to make a change to the template in order for QR codes to work.
I’ll go ahead and close this thread but let us know if any other questions come up and we’d be happy to help. 🙂
Cheers!
GeoffMay 29, 2018 at 3:19 pm #1541318VictorKeymasterHi Valerio!
Just wanted to share with you that a new release of our plugins is out, including a fix for this issue 🙂
Find out more about this release → https://theeventscalendar.com/maintenance-release-for-the-week-of-27-may-2018/
We apologize for the delay and appreciate your patience while we worked on this.
Please update the plugins and see if the fix works for your site. Don’t hesitate to open a new topic if anything comes up.
Best,
Victor -
AuthorPosts
- The topic ‘Wrong URL inside QR code’ is closed to new replies.