Conflict with custom order statuses
-
Hello I tried using a custom order plugin , even hard coded custom order statuses but something keeps trying to load into the template and causing the error , I tried to disable store location but seems like its mandatory, once i change it to the custom order status the site order page returns error
I was able to replicate the issue with on a blank site as well
With justWooCommerce
Location Picker at Checkout For WooCommerce
Custom Order Statuses for WooCommerceError Details ============= An error of type E_ERROR was caused in line 205 of the file wp-content/plugins/map-location-picker-at-checkout-for-woocommerce/includes/Controllers/Emails_Controller.php. Error message: Uncaught TypeError: Argument 4 passed to Lpac\Controllers\Emails_Controller::add_store_location_to_email() must be an object, string given, called in wp-includes/class-wp-hook.php on line 308 and defined in wp-content/plugins/map-location-picker-at-checkout-for-woocommerce/includes/Controllers/Emails_Controller.php:205 Stack trace: #0 wp-includes/class-wp-hook.php(308): Lpac\Controllers\Emails_Controller->add_store_location_to_email(Object(Automattic\WooCommerce\Admin\Overrides\Order), false, false, '') #1 wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #2 wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 wp-content/plugins/custom-order-statuses-for-woocommerce/templates/emails/send-tracking.php(19): do_action('woocommerce_ema...'
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Conflict with custom order statuses’ is closed to new replies.