Call to undefined function woot_has_soldout

Home Forums Ticket Products Event Tickets Plus Call to undefined function woot_has_soldout

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #229208
    sdewijs
    Participant

    I have added the code from the tutorial https://theeventscalendar.com/support/documentation/adding-sold-out-notices-for-woocommerce-tickets-in-list-view/ and installed the Woot library plugin. When I navigate to the page I get a PHP error that the function woot_has_soldout() is undefined.

    #229428
    sdewijs
    Participant

    I solved this issue by commenting out the three Preflight checks in woot-library.php.

    // if (!class_exists(‘TribeWooTickets’)) return;
    // if (!class_exists(‘TribeEvents’) || -1 === version_compare(TribeEvents::VERSION, ‘3.1’)) return;
    // if (!class_exists(‘WooCommerce’) || -1 === version_compare($woocommerce->version, ‘2.0.13’)) return;

    After this the library was properly loaded.

    #983330
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Call to undefined function woot_has_soldout’ is closed to new replies.