10up / WP-Minions

ARCHIVED: Job Queue for WordPress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHPUNIT_RUNNER not defined

nothingatalldotnet opened this issue · comments

commented

In wp-minions.php the plugins_loaded action is stuck in a loop where PHPUNIT_RUNNER is never defined. When tailing supervisorctl I the wp_async_task_init gets called as does \WpMinions\Plugin::get_instance(); but then simply continues looping back to the plugins_loaded function.

add_action( 'plugins_loaded', function() {
	// Init
	if ( ! defined( 'PHPUNIT_RUNNER' ) ) {
		wp_async_task_init();
	}
}, 9 );

System Info

  • WP CORE 5.6
  • WP Minions plugin 4.1.0
  • PHP 7.4
  • Centos7
commented

Actually, this is not a bug I do not believe. Apologies