Warning: max(): Array must contain at least one element

Home Forums Calendar Products Events Calendar PRO Warning: max(): Array must contain at least one element

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1034984
    maa
    Participant

    Error showing
    Warning: max(): Array must contain at least one element in /home/mornings/public_html/site/wp-content/plugins/the-events-calendar/src/Tribe/Cost_Utils.php on line 296

    Warning: array_merge(): Argument #1 is not an array in /home/mornings/public_html/site/wp-content/plugins/the-events-calendar/src/Tribe/Cost_Utils.php on line 307

    Warning: Invalid argument supplied for foreach() in /home/mornings/public_html/site/wp-content/plugins/the-events-calendar/src/Tribe/Cost_Utils.php on line 309

    I deleted Community Events

    #1035093
    Justin
    Participant

    I had this issue because I had typed Free in the cost textbox. I changed Free to 0 and it got rid of this error.

    #1035606
    George
    Participant

    Thanks for reporting this, @Justin! This sounds like a bug that we could improve so that “Free” doesn’t cause this error; thank you for reporting this!

    Best of luck with your site,
    George

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Warning: max(): Array must contain at least one element’ is closed to new replies.