Missing argument 2 for Tribe__Tickets_Plus__Commerce__WooCommerce__Main::maybe_a

Home Forums Ticket Products Event Tickets Plus Missing argument 2 for Tribe__Tickets_Plus__Commerce__WooCommerce__Main::maybe_a

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1297797
    MIKE
    Participant

    Missing argument 2 for Tribe__Tickets_Plus__Commerce__WooCommerce__Main::maybe_add_tickets_msg_to_email()
    I’ve seen a few threads with this common issue and while not technically a solution, I managed to alter that function to at least make the message go away until I can figure out root cause.
    Path to \wp-content\plugins\event-tickets-plus\src\Tribe\Commerce\WooCommerce\Main.php and go to the line number provided in the error.
    Change the following function:
    public function maybe_add_tickets_msg_to_email( $heading, $email )
    to this:
    public function maybe_add_tickets_msg_to_email( $heading, $email = NULL )
    This will at least suppress the error message and you can evaluate in your test environment.
    Obviously, if you update your plugin, you’ll need to make this change again.

    #1298267
    Victor
    Member

    Hi Mike!

    Thanks for taking your time and reporting this with a solution for it! 🙂

    We are already aware of this issue, so I’ll make sure to add your solution to the report so we can take it into account when developing a fix.

    I will change this thread to “Pending fix” so we’ll let you know when there is a bugfix for it.

    Thanks again!
    Victor

    #1320909
    Victor
    Member

    Hello Mike!

    Just wanted to share with you that a new maintenance release (for the Week of 10th July 2017) is out, including a fix for this issue 🙂

    Find out more about this release → https://theeventscalendar.com/maintenance-release-week-10th-july-2017/

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

    Best,
    Victor

    #1330789
    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 ‘Missing argument 2 for Tribe__Tickets_Plus__Commerce__WooCommerce__Main::maybe_a’ is closed to new replies.