Printing intermittent
-
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
- The topic ‘Printing intermittent’ is closed to new replies.