Fatal error adding to cart & Datafields issue

Home Forums Ticket Products Event Tickets Plus Fatal error adding to cart & Datafields issue

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1169532
    Tiffany
    Participant

    Hi,

    I have Event Tickets Plus installed on this site and everything was testing perfectly, until this fatal error started popping up.

    It occurs when I try to add an RSVP or put a new ticket in the cart.

    Catchable fatal error: Argument 1 passed to tribe_array_merge_recursive() must be of the type array, boolean given, called in /home/bmicolli/public_html/wp-content/plugins/event-tickets-plus/src/Tribe/Meta/Storage.php on line 97 and defined in /home/bmicolli/public_html/wp-content/plugins/event-tickets/common/src/functions/utils.php on line 14

    You can test this at http://192.185.150.196/~bmicolli/event/october-meeting/

    It may have to do with the datafields. When I remove them, the transaction goes through http://192.185.150.196/~bmicolli/event/october-meeting-2/

    Also, are the custom fields supposed to show in the order somewhere? I can only see them in the backend on RSVP tickets, but not purchased tickets.

    I have deactivated all plugins and gone back to a basic theme but that did not resolve anything

    Thanks
    Tiffany

    • This topic was modified 7 years, 7 months ago by Tiffany. Reason: added new test page
    • This topic was modified 7 years, 7 months ago by Andras.
    #1169689
    Michael
    Participant

    Hello,

    I have the exact same issue and a solution.

    I attached a file with the fix, copy the file into /wp-content/plugins/event-tickets-plus/src/Tribe/Meta

    #1169731
    Eric
    Participant

    It looks like adding to the cart worked for your website. I’m having the same issue on mine. Did the .zip fix the issue?

    #1169772
    Tiffany
    Participant

    No, it didn’t work. The problem is still there.

    I replaced the code in the meta file as provided, but there is an error in it…?
    When that code is live, the following error comes up on ALL pages of the site
    Fatal error: Class ‘Tribe__Tickets_Plus__Meta’ not found in /home/bmicolli/public_html/wp-content/plugins/event-tickets-plus/src/Tribe/Main.php on line 190

    I checked Main and that reference is there with correct spelling http://screencast.com/t/oKol6Qxbr

    I am going to remove both plugins and reinstall to see if that helps. Everything worked great for hours…then all the sudden not.

    #1169824
    Tiffany
    Participant

    The datafields are not working at all. They were working on RSVP, but now I get on error on them as well. I’m not changing anything but things keep breaking.

    Error remains the same: Catchable fatal error: Argument 1 passed to tribe_array_merge_recursive() must be of the type array, boolean given, called in /home/bmicolli/public_html/wp-content/plugins/event-tickets-plus/src/Tribe/Meta/Storage.php on line 97 and defined in /home/bmicolli/public_html/wp-content/plugins/event-tickets/common/src/functions/utils.php on line 14

    I have tried a workaround so that the info needed for the RSVP will be taken thru Event Tickets Plus…and those who prepay for a ticket will be asked the questions on the checkout form.

    Datafields are not transferring with Woocommerce at all.

    #1170012
    Andras
    Keymaster

    Hello Tiffany,

    Thanks for using our plugins and welcome to the forums!

    I’m really sorry you bumped into that issue (your opening post). This bug has been flagged to us about a week ago, so we already know about it. The internal bugticket is already filed and it is on highest priority, so it is very likely that a fix for this will come in our next maintenance release.

    I will add this thread to the bugticket as well to give it more push.

    I also tested the first link and I was able to send an RSVP with attendee info and was able to put a Ticket to the cart without any issues. Did you find a fix meanwhile or did you change anything?

    Also, is there anything else you need help with?

    Cheers,
    Andras

    #1170534
    Tiffany
    Participant

    Thanks, Andras. Which part is the known bug- that the datafield info is not shown when tickets are purchased? Or the error when trying to complete the signup with boolean array?

    I was just on http://192.185.150.196/~bmicolli/event/october-meeting/ and am still not able to add an RSVP to the system when it has extra datafields.

    I just omited the datafields from the tickets and added custom fields to the checkout form to capture all the info needed. Hopefully the datafields will work with RSVP again very soon! Is there an estimate of when a new version with this working might be available?

    Thanks
    Tiffany

    #1170869
    Andras
    Keymaster

    Hi Tiffany,

    I’m sorry for not being totally clear on this. :blush:

    Actually both bugs have been flagged and the team is working on the fixes.

    For the attendee information there is a workaround for now in the form of this plugin:

    https://theeventscalendar.com/content/uploads/2016/09/tribe-snippet-tickets-email-options-2016-08-30.zip

    Please try this, though yesterday a client reported back that he couldn’t activate the plugin. (The fix for that is also in the works. 🙂 )

    I’m really sorry that I cannot provide an immedate fix for all the issues. Let me assure you that our team is working on these with full steam. Thanks for your understanding!

    Cheers,
    Andras

    #1172741
    Tiffany
    Participant

    I have not been able to get your internal RSVP functions to work, so I am going to run all of the booking through WooCommerce.
    Is there a way to turn off the tickets that get sent when the order is marked as Completed. Right now, it just sends a completely blank email because all the info is passing through WooCommerce and I don’t want that to happen.

    Thanks

    #1172923
    Andras
    Keymaster

    Hi Tiffany,

    I’m sorry you are still having this issue.

    To stop emails from sending try using this snippet. Paste this code in your functions.php file (Appearance > Editor > choose functions.php on the right side):

    https://gist.github.com/jesseeproductions/7ec5827ffa34a3995dc9#file-tec-woo-ticket-email

     

    Let me know if that helps.

    Cheers,
    Andras

    #1183817
    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 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Fatal error adding to cart & Datafields issue’ is closed to new replies.