plugin stopping cron tasks from running
-
Thanks for this plugin. You might be aware of this already.
I noticed cron tasks are no longer running on 2.6.0 when WooCommerce is installed with this plugin. This is due to the modular_connector_run_schedule cron requesting an admin screen in the screensimulation.php file (I’m assuming to check for errors?). However this triggers WooCommerce to fire a safe_redirect to /my-account/ since no user is logged in, which then fires an “exit” any further cron jobs from running.
#0 WP_CLI\Utils\wp_redirect_handler(example.com/my-account/) called at [wp-includes/class-wp-hook.php:343]
#1 WP_Hook->apply_filters(example.com/my-account/, Array ([0] => example.com/my-account/,[1] => 302)) called at [wp-includes/plugin.php:205]
#2 apply_filters(wp_redirect, example.com/my-account/, 302) called at [wp-includes/pluggable.php:1492]
#3 wp_redirect(example.com/my-account/, 302, WordPress) called at [wp-includes/pluggable.php:1641]
#4 wp_safe_redirect(example.com/my-account/) called at [wp-content/plugins/woocommerce/includes/admin/class-wc-admin.php:213]
#5 WC_Admin->prevent_admin_access() called at [wp-includes/class-wp-hook.php:341]
#6 WP_Hook->apply_filters(, Array ([0] => )) called at [wp-includes/class-wp-hook.php:365]
#7 WP_Hook->do_action(Array ([0] => )) called at [wp-includes/plugin.php:522]
#8 do_action(admin_init) called at [wp-content/plugins/modular-connector/vendor/ares/framework/src/Foundation/ScreenSimulation.php:209]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.