Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter hoobsiii

    (@hoobsiii)

    Hi there,

    Any update on the “filter by product category” functionality?

    It would be saving me just so much time, as I now have to filter through many products one by one – and we keep adding more.

    Thread Starter hoobsiii

    (@hoobsiii)

    Amazing! I will be your first customer for that one!

    Thread Starter hoobsiii

    (@hoobsiii)

    Woohooo, thanks so much for the fast fix!

    Thread Starter hoobsiii

    (@hoobsiii)

    OMG, that would be amazing! ??

    Thread Starter hoobsiii

    (@hoobsiii)

    I believe I found some fatal error logs that are relevant for this.
    When I had the Kadence WooCommerce Email Designer activated, I always got an error when I tried to send a custom order email (that email is set up through the WooCommerce Order Status Extension):

    
    2018-12-06T08:23:55+00:00 CRITICAL Uncaught Error: Call to a member function trigger() on null in /chroot/home/adcb2147/fairyloot.com/html/wp-content/plugins/woocommerce-order-status-manager/includes/admin/class-wc-order-status-manager-admin-orders.php:158
    Stack trace:
    #0 /chroot/home/adcb2147/fairyloot.com/html/wp-includes/class-wp-hook.php(286): WC_Order_Status_Manager_Admin_Orders->send_custom_order_email(Object(WC_Order))
    #1 /chroot/home/adcb2147/fairyloot.com/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
    #2 /chroot/home/adcb2147/fairyloot.com/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #3 /chroot/home/adcb2147/fairyloot.com/html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(136): do_action('woocommerce_ord...', Object(WC_Order))
    #4 /chroot/home/adcb2147/fairyloot.com/html/wp-includes/class-wp-hook.php(286): WC_Meta_Box_Order_Actions::save(227190, Object(WP_Post))
    #5 /chroot/home/adcb2147/fairyloot.com/html/wp-includes/class-wp-hook.php(310): WP_Hoo
    
    2018-12-06T08:27:15+00:00 CRITICAL Uncaught Error: Call to a member function trigger() on null in /chroot/home/adcb2147/fairyloot.com/html/wp-content/plugins/woocommerce-order-status-manager/includes/admin/class-wc-order-status-manager-admin-orders.php:158
    Stack trace:
    #0 /chroot/home/adcb2147/fairyloot.com/html/wp-includes/class-wp-hook.php(286): WC_Order_Status_Manager_Admin_Orders->send_custom_order_email(Object(WC_Order))
    #1 /chroot/home/adcb2147/fairyloot.com/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
    #2 /chroot/home/adcb2147/fairyloot.com/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #3 /chroot/home/adcb2147/fairyloot.com/html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(136): do_action('woocommerce_ord...', Object(WC_Order))
    #4 /chroot/home/adcb2147/fairyloot.com/html/wp-includes/class-wp-hook.php(286): WC_Meta_Box_Order_Actions::save(227190, Object(WP_Post))
    #5 /chroot/home/adcb2147/fairyloot.com/html/wp-includes/class-wp-hook.php(310): WP_Hoo
    
    2018-12-06T08:27:33+00:00 CRITICAL Uncaught Error: Call to a member function trigger() on null in /chroot/home/adcb2147/fairyloot.com/html/wp-content/plugins/woocommerce-order-status-manager/includes/admin/class-wc-order-status-manager-admin-orders.php:158
    Stack trace:
    #0 /chroot/home/adcb2147/fairyloot.com/html/wp-includes/class-wp-hook.php(286): WC_Order_Status_Manager_Admin_Orders->send_custom_order_email(Object(WC_Order))
    #1 /chroot/home/adcb2147/fairyloot.com/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
    #2 /chroot/home/adcb2147/fairyloot.com/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #3 /chroot/home/adcb2147/fairyloot.com/html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(136): do_action('woocommerce_ord...', Object(WC_Order))
    #4 /chroot/home/adcb2147/fairyloot.com/html/wp-includes/class-wp-hook.php(286): WC_Meta_Box_Order_Actions::save(227190, Object(WP_Post))
    #5 /chroot/home/adcb2147/fairyloot.com/html/wp-includes/class-wp-hook.php(310): WP_Hoo
    

    Does that give you any hint of what might be conflicting with the two plugins?

    Thread Starter hoobsiii

    (@hoobsiii)

    Hi Ben,

    thanks for your fast response!

    The WooCommerce Order Status Extension by Skyverge uses the following email template:

    
    <?php
    /**
     * WooCommerce Order Status Manager
     *
     * This source file is subject to the GNU General Public License v3.0
     * that is bundled with this package in the file license.txt.
     * It is also available through the world-wide-web at this URL:
     * https://www.gnu.org/licenses/gpl-3.0.html
     * If you did not receive a copy of the license and are unable to
     * obtain it through the world-wide-web, please send an email
     * to [email protected] so we can send you a copy immediately.
     *
     * DISCLAIMER
     *
     * Do not edit or add to this file if you wish to upgrade WooCommerce Order Status Manager to newer
     * versions in the future. If you wish to customize WooCommerce Order Status Manager for your
     * needs please refer to https://docs.woocommerce.com/document/woocommerce-order-status-manager/ for more information.
     *
     * @package     WC-Order-Status-Manager/Templates
     * @author      SkyVerge
     * @copyright   Copyright (c) 2015-2018, SkyVerge, Inc.
     * @license     https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
     */
    
    defined( 'ABSPATH' ) or exit;
    
    /**
     * Default customer order status email template.
     *
     * Note: the .td class used in table is from WooCommerce core (see email-styles.php).
     *
     * @type string $email_heading The email heading.
     * @type string $email_body_text The email body.
     * @type \WC_Order $order The order object.
     * @type bool $sent_to_admin Whether email is sent to admin.
     * @type bool $plain_text Whether email is plain text.
     * @type bool $show_download_links Whether to show download links.
     * @type bool $show_purchase_note Whether to show purchase note.
     * @type \WC_Email $email The email object.
     *
     * @since 1.0.0
     * @version 1.7.0
     */
    ?>
    
    <?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
    
    <?php if ( $email_body_text ) : ?>
    <div id="body_text"><?php echo $email_body_text; ?></div>
    <?php endif; ?>
    
    <?php do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin, $plain_text, $email ); ?>
    
    <h2><?php echo esc_html__( 'Order:', 'woocommerce-order-status-manager' ) . ' ' . $order->get_order_number(); ?></h2>
    
    <table class="td" cellspacing="0" cellpadding="6" style="width: 100%;" border="1">
    	<thead>
    		<tr>
    			<th class="td" scope="col" style="text-align: left;"><?php esc_html_e( 'Product', 'woocommerce-order-status-manager' ); ?></th>
    			<th class="td" scope="col" style="text-align: left;"><?php esc_html_e( 'Quantity', 'woocommerce-order-status-manager' ); ?></th>
    			<th class="td" scope="col" style="text-align: left;"><?php esc_html_e( 'Price', 'woocommerce-order-status-manager' ); ?></th>
    		</tr>
    	</thead>
    	<tbody>
    		<?php
    
    		$email_order_items = array(
    			'show_purchase_note'  => $show_purchase_note,
    			'show_download_links' => $show_download_links,
    			'show_sku'            => false,
    		);
    
    		echo SV_WC_Plugin_Compatibility::is_wc_version_gte_3_0() ? wc_get_email_order_items( $order, $email_order_items ) : $order->email_order_items_table( $email_order_items );
    
    		?>
    	</tbody>
    	<tfoot>
    		<?php
    			if ( $totals = $order->get_order_item_totals() ) {
    				$i = 0;
    				foreach ( $totals as $total ) {
    					$i++; ?>
    					<tr>
    						<th class="td" scope="row" colspan="2" style="text-align: left; <?php if ( $i == 1 ) echo 'border-top-width: 4px;'; ?>"><?php echo $total['label']; ?></th>
    						<td class="td" style="text-align: left; <?php if ( $i == 1 ) echo 'border-top-width: 4px;'; ?>"><?php echo $total['value']; ?></td>
    					</tr><?php
    				}
    			}
    		?>
    	</tfoot>
    </table>
    
    <?php do_action( 'woocommerce_email_after_order_table', $order, $sent_to_admin, $plain_text, $email ); ?>
    
    <?php do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email ); ?>
    
    <h2><?php esc_html_e( 'Customer details', 'woocommerce-order-status-manager' ); ?></h2>
    
    <?php if ( $billing_email = SV_WC_Order_Compatibility::get_prop( $order, 'billing_email' ) ) : ?>
    	<p><strong><?php esc_html_e( 'Email:', 'woocommerce-order-status-manager' ); ?></strong> <?php echo $billing_email; ?></p>
    <?php endif; ?>
    <?php if ( $billing_phone = SV_WC_Order_Compatibility::get_prop( $order, 'billing_phone' ) ) : ?>
    	<p><strong><?php esc_html_e( 'Tel:', 'woocommerce-order-status-manager' ); ?></strong> <?php echo $billing_phone; ?></p>
    <?php endif; ?>
    
    <?php wc_get_template( 'emails/email-addresses.php', array( 'order' => $order ) ); ?>
    
    <?php do_action( 'woocommerce_email_footer', $email ); ?>
    

    To me it looks like it does contain the correct @email object in the do_action ‘woocommerce_email_header’?

Viewing 6 replies - 1 through 6 (of 6 total)