Error when entering something as a prize.

Home Forums Calendar Products Community Events Error when entering something as a prize.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1040918
    alonso
    Participant

    Error when entering something as a prize.

    A user creates an event and writes the price field for free then obtained after sending an error

    Warning: max(): Array must contain at least one element in /www/htdocs/w013d4d0/markttermine.saarland/wp-content/plugins/the-events-calendar/src/Tribe/Cost_Utils.php on line 296
    
    Warning: array_merge(): Argument #1 is not an array in /www/htdocs/w013d4d0/markttermine.saarland/wp-content/plugins/the-events-calendar/src/Tribe/Cost_Utils.php on line 307
    
    Warning: Invalid argument supplied for foreach() in /www/htdocs/w013d4d0/markttermine.saarland/wp-content/plugins/the-events-calendar/src/Tribe/Cost_Utils.php on line 309
    #1041027
    George
    Participant

    Hey @Alonso,

    Only integers can be used in the Price field – words like “free” or anything else are unfortunately not permitted at this time within the code, which will lead to errors like you posted.

    There’s no way to fix this right now, but we are working on better handling of this field in the next few releases of the plugin.

    I’m sorry for the disappointing news! 🙁

    — George

    #1041158
    alonso
    Participant

    no problem, I do not need it and have the field thus taken out can not write in something.

    #1041701
    George
    Participant

    Thanks @alonso! I’m sorry that this is the situation at present – but we’re working on a bug fix regardless, so stay tuned for that! 😀

    Cheers,
    George

    #1076231
    Support Droid
    Keymaster

    This 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.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Error when entering something as a prize.’ is closed to new replies.