Wrong URL inside QR code

Home Forums Ticket Products Event Tickets Plus Wrong URL inside QR code

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1250320
    valerio
    Participant

    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/

    #1250332
    valerio
    Participant

    Solved 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('/') );
    • This reply was modified 7 years, 1 month ago by valerio.
    • This reply was modified 7 years, 1 month ago by valerio.
    #1250395
    Geoff
    Member

    Hi @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!
    Geoff

     

    #1541318
    Victor
    Keymaster

    Hi 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Wrong URL inside QR code’ is closed to new replies.