ll $args * * @return bool True if there is a pending scheduled, async or in-progress action in the queue or false if there is no matching action. */ public function has_scheduled_action( string $hook, $args = [] ): bool; /** * Search for scheduled actions. * * @param array|null $args See as_get_scheduled_actions() for possible arguments. * @param string $return_format OBJECT, ARRAY_A, or ids. * * @return array */ public function search( $args = [], $return_format = OBJECT ): array; /** * Cancel the next scheduled instance of an action with a matching hook (and optionally matching args). * * Any recurring actions with a matching hook should also be cancelled, not just the next scheduled action. * * @param string $hook The hook that the job will trigger. * @param array|null $args Args that would have been passed to the job. * * @return int The scheduled action ID if a scheduled action was found. * * @throws ActionSchedulerException If no matching action found. */ public function cancel( string $hook, $args = [] ); /** * Retrieve an action. * * @param int $action_id Action ID. * * @return ActionScheduler_Action * * @since 1.7.0 */ public function fetch_action( int $action_id ): ActionScheduler_Action; }
Warning: class_implements(): Class Automattic\WooCommerce\GoogleListingsAndAds\ActionScheduler\ActionScheduler does not exist and could not be loaded in /htdocs/wp-content/plugins/google-listings-and-ads/src/Internal/DependencyManagement/AbstractServiceProvider.php on line 73

Fatal error: Uncaught Error: Interface "Automattic\WooCommerce\GoogleListingsAndAds\ActionScheduler\ActionSchedulerInterface" not found in /htdocs/wp-content/plugins/google-listings-and-ads/src/ActionScheduler/ActionScheduler.php:20 Stack trace: #0 /htdocs/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-php-autoloader.php(90): require() #1 [internal function]: Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackā“„12_4\PHP_Autoloader::load_class('Automattic\\WooC...') #2 /htdocs/wp-content/plugins/google-listings-and-ads/src/Internal/DependencyManagement/AbstractServiceProvider.php(73): class_implements('Automattic\\WooC...') #3 /htdocs/wp-content/plugins/google-listings-and-ads/src/Internal/DependencyManagement/JobServiceProvider.php(91): Automattic\WooCommerce\GoogleListingsAndAds\Internal\DependencyManagement\AbstractServiceProvider->share_with_tags('Automattic\\WooC...', 'Automattic\\WooC...') #4 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/ServiceProvider/ServiceProviderAggregate.php(102): Automattic\WooCommerce\GoogleListingsAndAds\Internal\DependencyManagement\JobServiceProvider->register() #5 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(172): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\ServiceProvider\ServiceProviderAggregate->register('Automattic\\WooC...') #6 /htdocs/wp-content/plugins/google-listings-and-ads/src/Container.php(90): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #7 /htdocs/wp-content/plugins/google-listings-and-ads/src/Infrastructure/GoogleListingsAndAdsPlugin.php(139): Automattic\WooCommerce\GoogleListingsAndAds\Container->get('Automattic\\WooC...') #8 /htdocs/wp-content/plugins/google-listings-and-ads/src/Infrastructure/GoogleListingsAndAdsPlugin.php(97): Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure\GoogleListingsAndAdsPlugin->maybe_register_services() #9 /htdocs/wp-includes/class-wp-hook.php(310): Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure\GoogleListingsAndAdsPlugin->Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure\{closure}('') #10 /htdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #11 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /htdocs/wp-settings.php(495): do_action('plugins_loaded') #13 /htdocs/wp-config.php(96): require_once('/htdocs/wp-sett...') #14 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #15 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #16 /htdocs/index.php(17): require('/htdocs/wp-blog...') #17 {main} thrown in /htdocs/wp-content/plugins/google-listings-and-ads/src/ActionScheduler/ActionScheduler.php on line 20