• Resolved iamthewebb

    (@iamthewebb)


    Hi,

    Not sure when this started happening but when I create a new event and select ‘Enable registration for this event’ the default ticket type I’ve specified within functions.php doesn’t appear and the Add new ticket button does nothing.

    If I enable debugging I can see the following error – count(): Parameter must be an array or an object that implements Countable
    wp-content/plugins/events-manager/templates/forms/event/bookings.php:15

    I’m using the second piece of code by Patrick in from this thread https://wordpress.org/support/topic/default-ticket-prices/ to set my defaults.

    Any advice on what has gone wrong would be great.

Viewing 1 replies (of 1 total)
  • Thread Starter iamthewebb

    (@iamthewebb)

    Managed to fix it, looks like the filter I was using is no longer fired, changed it to em_ticket

Viewing 1 replies (of 1 total)
  • The topic ‘Default Tickets no longer working’ is closed to new replies.