• Resolved dblinks

    (@dblinks)


    This looks suspiciously like I did something wrong in setting up Woocommerce emails, but while we have a tech onsite (it’s a restaurant) and we’re logged into the site testing the printer seems to work fine. Then he leaves and it stops (makes little sense I know) the manager said he see’s the light of the printer engage while on the phone testing (while sending a test order), then the printer stops the connection (if that makes any sense). All our print jobs say “in progress” other than the ones that appeared to go through normally.

    In the logs:

    2018/12/22 12:59:59 [error] 45852#45852: *33293 FastCGI sent in stderr: "age was added in version 3.0.
    PHP message: billing_email was called incorrectly. 
    
    Order properties should not be accessed directly. Backtrace: Zprint\Printer::Zprint\{closure}, Zprint\Printer::rawPrintOrder, Zprint\Printer::printTemplates, array_map, Zprint\Printer::Zprint\{closure}, Zprint\Printer::printDocument, Zprint\Document::generatePrint, include('/plugins/print-google-cloud-print-gcp-woocommerce/templates/customer-html.php'), WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    
    PHP message: customer_note was called incorrectly. Order properties should not be accessed directly. Backtrace: Zprint\Printer::Zprint\{closure}, Zprint\Printer::rawPrintOrder, Zprint\Printer::printTemplates, array_map, Zprint\Printer::Zprint\{closure}, Zprint\Printer::printDocument, Zprint\Document::generatePrint, include('/plugins/print-google-cloud-print-gcp-woocommerce/templates/customer-html.php'), WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0" while reading upstream, client: xxx.xxx.xx.xxx, server:

    ok and to be fair we tweaked the functions but don’t see anything there either that may be a conflict but could be wrong…

    //remove some fields from billing form
    //ref - https://docs.woothemes.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/
    function wpb_custom_billing_fields( $fields = array() ) {
    	unset($fields['billing_company']);
    	unset($fields['billing_address_1']);
    	unset($fields['billing_address_2']);
    	unset($fields['billing_state']);
    	unset($fields['billing_city']);
    	unset($fields['billing_postcode']);
    	unset($fields['billing_country']);
    	return $fields;
    }
    add_filter('woocommerce_billing_fields','wpb_custom_billing_fields');
    
    add_filter('woocommerce_placeholder_img_src', 'custom_woocommerce_placeholder_img_src');
    
    function custom_woocommerce_placeholder_img_src( $src ) {
    	$upload_dir = wp_upload_dir();
    	$uploads = untrailingslashit( $upload_dir['baseurl'] );
    	// replace with path to your image
    	$src = $uploads . '/2018/11/Woocommerce-Placeholder-Image-Rancheros-Cocina-Mexicana-OH-V2.png';
    	 
    	return $src;
    }
    
    remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 );

    Thanks for any insight you can give me as to what you think may be the issue.

    stu

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bizswoop

    (@bizswoop)

    Stu,

    As a follow-up from our support request you submitted directly to us on our bizswoop.com/support channel. Providing an update here for other users if they encounter this thread and similar issue.

    Our latest release version 3.0.1 includes performance improvements, the improvements should address any intermittent printing results you experienced.

    If you still experience intermittent results, please reach out to our support channel or reopen the thread.

    Thank you.

    Thread Starter dblinks

    (@dblinks)

    I certainly appreciate your attentiveness to the support request, holidays and all… As you pointed out also we have experienced that failures in the wireless environment of a restaurant can be daunting at best.

    Regardless of a few php errors being thrown we have proven the reliability of your plugin in a controlled office setting and it works flawlessly, wired or wirelessly.

    We will follow up with other findings as they occur and thanks for such great service again.

    Sincerely,
    Stu

    Plugin Author bizswoop

    (@bizswoop)

    Thanks Stu for the kind words.

    If you have a few minutes, we’d love a review on the Plugin. Helps other users discover the Plugin.

    Yes, please keep us updated for any additional support you need or features that will improve the Plugin functionality.

    Best regards,

    Support Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Printing intermittent’ is closed to new replies.