typo in code

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 1 reply thread
  • Author
    Posts
    • #68689
      fairooz market
      Participant

      line 401 & 402 of wcfm-controller-wcfmarketplace-orders.php

      $status_update_block_statuses = apply_filters( 'wcfm_status_update_block_statuses', array( 'refunded', 'cancelled', 'failed' ), $order->order_id );
      					if( in_array( 'wc-completed', array_keys($allowed_order_status) ) && !in_array( 'completed', $status_update_block_statuse ) && !in_array( $order_status, array( 'failed', 'cancelled', 'refunded', 'completed' ) ) ) $actions = '<a class="wcfm_order_mark_complete wcfm-action-icon" href="#" data-orderid="' . $order->order_id . '"><span class="wcfmfa fa-check-circle text_tip" data-tip="' . esc_attr__( 'Mark as Complete', 'wc-frontend-manager' ) . '"></span></a>';
      
      should be 		

      !in_array( ‘completed’, $status_update_block_statuses )

      missing the s causing null error

      `

    • #69009
      WCFM Forum
      Keymaster

      Thanks for this, we will definitely take care of this in next update.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.