woocommerce-local-pickup-time icon indicating copy to clipboard operation
woocommerce-local-pickup-time copied to clipboard

Setting pick up time for an order in the backend

Open j-mes opened this issue 8 years ago • 1 comments

I'm currently using WooCommerce 3.x, with WP 4.8. The front end component for this plugin works fine, it's just the back-end that throws the errors:

Notice: id was called incorrectly. Order properties should not be accessed directly. Backtrace: include('wp-admin/edit-form-advanced.php'), do_meta_boxes, WC_Meta_Box_Order_Data::output, do_action('woocommerce_admin_order_data_after_billing_address'), WP_Hook->do_action, WP_Hook->apply_filters, Local_Pickup_Time_Admin->show_metabox, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/.../public/wp-includes/functions.php on line 4139

Notice: id was called incorrectly. Order properties should not be accessed directly. Backtrace: include('wp-admin/edit-form-advanced.php'), do_meta_boxes, WC_Meta_Box_Order_Data::output, do_action('woocommerce_admin_order_data_after_billing_address'), WP_Hook->do_action, WP_Hook->apply_filters, Local_Pickup_Time_Admin->show_metabox, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/.../public/wp-includes/functions.php on line 4139

Notice: Undefined offset: 1 in /var/www/.../public/wp-content/plugins/woocommerce-local-pickup-time-select/admin/class-local-pickup-time-admin.php on line 325

I'm currently working on a WooCommerce site that will require the people who sell their products to be able to add in the orders in the backend if they are dealing with a customer over the telephone. It will not display a dropdown menu for setting the pickup/delivery time.

j-mes avatar Jun 22 '17 09:06 j-mes

I unfortunately won't have a chance to look at this for a while. If you have a minute and can debug and submit a PR, I can merge it and push out a new version.

mattbanks avatar Jun 27 '17 15:06 mattbanks