wc_get_product was called incorrectly
-
Any ideas on this? My log is full of them.
wc_get_product was called incorrectly. wc_get_product should not be called before the woocommerce_init, woocommerce_after_register_taxonomy and woocommerce_after_register_post_type actions have finished. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, WPDesk\ShopMagic\Plugin->WPDesk\ShopMagic\{closure}, WPDesk\ShopMagic\Automation\AutomationFactory->initialize_active_automations, WPDesk\ShopMagic\Automation\AutomationFactory->create_automation, WPDesk\ShopMagic\Automation\Automation->initialize, WPDesk\ShopMagic\Automation\Automation->get_event, WPDesk\ShopMagic\Automation\Automation->create_filter, WPDesk\ShopMagic\Automation\AutomationPersistence->get_filters_as_group, WPDesk\ShopMagic\Automation\AutomationPersistence->get_filters_data, WPDesk\ShopMagic\FormField\Serializer\ProductSelectSerializer->serialize, wc_get_product, wc_doing_it_wrong. This message was added in version 3.9.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘wc_get_product was called incorrectly’ is closed to new replies.