PHP 7.1 "A non-numeric value encountered"

Home Forums Ticket Products Event Tickets Plus PHP 7.1 "A non-numeric value encountered"

  • This topic has 0 replies, 3 voices, and was last updated 6 years ago by Alexander.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1261049
    Alexander
    Participant

    Hi,

    in wp-content/plugins/event-tickets/src/Tribe/RSVP.php line 1027, please change

    $return->stock( get_post_meta( $ticket_id, '_stock', true ) - $qty ); to

    $return->stock( (int) get_post_meta( $ticket_id, '_stock', true ) - $qty );

    Thanks
    Alex

    #1261477
    Victor
    Keymaster

    Hi Alexander!

    Thanks for reaching out to us and letting us know about this.

    We are aware of a few PHP errors related to PHP version 7.1. While I’m not sure if it’s exactly the same issue as the one you are reporting, I will make sure to link this to the corresponding bug report so the team will take it into account when dealing with it and will let you know as soon as the bug fix is released.

    Thanks again for reporting this and feel free to ask any other questions.

    Best!

    Victor

    #1491553

    Hi There!

    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-week-25-march-2018/

    Please update the plugins and let us know if the fix works for your site.

    Best,
    Jaime

    #1512322
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘PHP 7.1 "A non-numeric value encountered"’ is closed to new replies.