Major Issues with WC3.0

Home Forums Ticket Products Event Tickets Plus Major Issues with WC3.0

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1265065
    Adam Dean
    Participant

    Just wanted to leave a screenshot and show the errors that are being thrown by the new WooCommerce 3.0 when using Event Tickets Plus 4.4.4.

    This could be due to debugging being turned on in my local machine but definitely makes me NOT want to update any client sites to WC3.0 until I can be sure that these issues are addressed or resolved.

    NOTE: The image is safe to share. This is an isolated DEV environment and nothing sensitive is going to be leaked.

    ========================
    PLEASE LEAVE FOR SUPPORT
    Reporting the same issue as: https://theeventscalendar.com/support/forums/topic/woocommerce-3-0-0-safe-to-upgrade/

    #1265179
    Courtney
    Member

    Thanks Adam

    Our team jumped in immediately upon WooCommerce’s update to begin testing it with our plugins. We’ll release an update as soon as possible to avoid conflicts.

    Until then, is there anything else I can help you with?

    Thanks,
    Courtney 🙂

    #1265183
    Adam Dean
    Participant

    Nope, I’m still chugging along working on some custom plugins for ET+.

    I’ll keep an eye out for the updates so I’ll know when it’s safe to upgrade clients to WC3+

    #1265233
    Terrance
    Participant

    src/Tribe/Commerce/WooCommerce/Main.php

     // $product_data = $product->get_post_data(); // commented 
      $product_data = get_post( $ticket_id ); // added to fix 
    fixed the WC_Product::get_post_data error
    
    #1265236
    Terrance
    Participant

    src/Tribe/Commerce/WooCommerce/Main.php at line 1980

    
    // add_filter( 'woocommerce_get_price', array( $this, 'get_regular_price' ), 99, 2 ); // commented 
    add_filter( 'woocommerce_product_get_price', array( $this, 'get_regular_price' ), 99, 2 ); // added to fix  the woocommerce_get_price
    $price_html = $product->get_price_html();
     
    // remove_filter( 'woocommerce_get_price', array( $this, 'get_regular_price' ), 99 ); // commented 
    remove_filter( 'woocommerce_product_get_price', array( $this, 'get_regular_price' ), 99 );  // added to fix  the woocommerce_get_price

    But I could not fix the third issues of

    Notice: id was called incorrectly. Product properties should not be accessed directly. Please see Debugging in WordPress for more information. (This message was added in version 3.0.)

    So this thread may help you
    https://github.com/hyyan/woo-poly-integration/issues/97
    https://wordpress.org/support/topic/woocommerce-3-0-notice/

    I just did a temporary fix at line 1819 in public function get_price_html( $product, $attendee = false )

    src/Tribe/Commerce/WooCommerce/Main.php

    if ( $should_show_regular_price ) {
    			// $price_html = $this->get_regular_price_html( $product );
    			$price_html = $product->get_price_html();
    		} else {
    			$price_html = $product->get_price_html();
    		}
    
    #1266310
    Victor
    Member

    Hi There!

    We just wanted to let you know that there is a potential fix for the WooCommerce 3.0 related issues in our Event Tickets Plus 4.5 pre-release.

    You should read this before doing any upgrades.

    Then, you can grab the zip file here > Event Tickets Plus 4.5 pre-release zip

    Best!

    Victor

    #1267828
    Nico
    Member

    Hi there,

    A quick heads-up: we released Event Tickets 4.4.5, addressing the compatibility issues with WooCommerce 3.x. More details on the release → https://theeventscalendar.com/maintenance-release-event-tickets-plus-4-4-5/

    If you are still seeing troubles with WooCommerce 3.x please let us know about it,
    Cheers,
    Nico

    #1277370
    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 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Major Issues with WC3.0’ is closed to new replies.