mutliple errors when front end order placed
-
We have ordered the printer and setup using WooCommerce plugin. Printer has been found and connected.
Placed a test order and got multiple errors on the frontend screen as follows
I can see two issues
(1) Code needs refining for WooCommerce
(2) Mandatory to have a shipping address (currently we have this turned off)We havent managed to get a receipt to print as yet.
—-
Notice: Undefined offset: 0 in /home/sites/11a/3/3b6e75b09c/public_html/wp-content/plugins/star-cloudprnt-for-woocommerce/order-handler.php on line 280
Notice: Undefined index: printerMAC in /home/sites/11a/3/3b6e75b09c/public_html/wp-content/plugins/star-cloudprnt-for-woocommerce/cloudprnt/printer_text_plain.inc.php on line 24
Notice: post was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/flatsome/page-checkout.php’), wc_get_template_part, load_template, require(‘/themes/flatsome/woocommerce/checkout/layouts/checkout.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, flatsome_contentfix, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_received, wc_get_template, include(‘/themes/flatsome/woocommerce/checkout/thankyou.php’), do_action(‘woocommerce_thankyou’), WP_Hook->do_action, WP_Hook->apply_filters, star_cloudprnt_woo_on_thankyou, star_cloudprnt_print_order_summary, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. in /home/sites/11a/3/3b6e75b09c/public_html/wp-includes/functions.php on line 5167
Notice: order_date was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/flatsome/page-checkout.php’), wc_get_template_part, load_template, require(‘/themes/flatsome/woocommerce/checkout/layouts/checkout.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, flatsome_contentfix, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_received, wc_get_template, include(‘/themes/flatsome/woocommerce/checkout/thankyou.php’), do_action(‘woocommerce_thankyou’), WP_Hook->do_action, WP_Hook->apply_filters, star_cloudprnt_woo_on_thankyou, star_cloudprnt_print_order_summary, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Please see Debugging in WordPress for more informa in /home/sites/11a/3/3b6e75b09c/public_html/wp-includes/functions.php on line 5167
Deprecated: WC_Order::get_item_meta is deprecated since version 3.0! Use wc_get_order_item_meta instead. in /home/sites/11a/3/3b6e75b09c/public_html/wp-includes/functions.php on line 4713
Deprecated: WC_Order::get_item_meta is deprecated since version 3.0! Use wc_get_order_item_meta instead. in /home/sites/11a/3/3b6e75b09c/public_html/wp-includes/functions.php on line 4713
Deprecated: WC_Order::get_item_meta is deprecated since version 3.0! Use wc_get_order_item_meta instead. in /home/sites/11a/3/3b6e75b09c/public_html/wp-includes/functions.php on line 4713
Notice: Undefined index: _shipping_first_name in /home/sites/11a/3/3b6e75b09c/public_html/wp-content/plugins/star-cloudprnt-for-woocommerce/order-handler.php on line 151
Notice: Undefined index: _shipping_last_name in /home/sites/11a/3/3b6e75b09c/public_html/wp-content/plugins/star-cloudprnt-for-woocommerce/order-handler.php on line 152
Notice: Undefined index: _shipping_address_1 in /home/sites/11a/3/3b6e75b09c/public_html/wp-content/plugins/star-cloudprnt-for-woocommerce/order-handler.php on line 153
Notice: Undefined index: _shipping_address_2 in /home/sites/11a/3/3b6e75b09c/public_html/wp-content/plugins/star-cloudprnt-for-woocommerce/order-handler.php on line 154
Notice: Undefined index: _shipping_city in /home/sites/11a/3/3b6e75b09c/public_html/wp-content/plugins/star-cloudprnt-for-woocommerce/order-handler.php on line 155
Notice: Undefined index: _shipping_state in /home/sites/11a/3/3b6e75b09c/public_html/wp-content/plugins/star-cloudprnt-for-woocommerce/order-handler.php on line 156
Notice: Undefined index: _shipping_postcode in /home/sites/11a/3/3b6e75b09c/public_html/wp-content/plugins/star-cloudprnt-for-woocommerce/order-handler.php on line 157
Notice: post was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/flatsome/page-checkout.php’), wc_get_template_part, load_template, require(‘/themes/flatsome/woocommerce/checkout/layouts/checkout.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, flatsome_contentfix, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_received, wc_get_template, include(‘/themes/flatsome/woocommerce/checkout/thankyou.php’), do_action(‘woocommerce_thankyou’), WP_Hook->do_action, WP_Hook->apply_filters, star_cloudprnt_woo_on_thankyou, star_cloudprnt_print_order_summary, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. in /home/sites/11a/3/3b6e75b09c/public_html/wp-includes/functions.php on line 5167
Warning: opendir(/home/sites/11a/3/3b6e75b09c/public_html/wp-content/star-cloudprnt/printerdata//queue/): failed to open dir: No such file or directory in /home/sites/11a/3/3b6e75b09c/public_html/wp-content/plugins/star-cloudprnt-for-woocommerce/cloudprnt/printer_queue.inc.php on line 9
Warning: copy(/home/sites/11a/3/3b6e75b09c/public_html/wp-content/star-cloudprnt/printerdata//queue/1.txt): failed to open stream: No such file or directory in /home/sites/11a/3/3b6e75b09c/public_html/wp-content/plugins/star-cloudprnt-for-woocommerce/cloudprnt/printer_queue.inc.php on line 93
Warning: fopen(/home/sites/11a/3/3b6e75b09c/public_html/wp-content/star-cloudprnt/printerdata//queue/1): failed to open stream: No such file or directory in /home/sites/11a/3/3b6e75b09c/public_html/wp-content/plugins/star-cloudprnt-for-woocommerce/cloudprnt/printer_queue.inc.php on line 94
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/sites/11a/3/3b6e75b09c/public_html/wp-content/plugins/star-cloudprnt-for-woocommerce/cloudprnt/printer_queue.inc.php on line 95
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/sites/11a/3/3b6e75b09c/public_html/wp-content/plugins/star-cloudprnt-for-woocommerce/cloudprnt/printer_queue.inc.php on line 96
The topic ‘mutliple errors when front end order placed’ is closed to new replies.