_list, true ); if ( $new_status_priority !== false && ( is_null( $status ) || $current_status_priority > $new_status_priority ) ) { return $new_status; } return $status; } /** * Updates the regions where a request review is allowed. * * @param array $region_status Associative array containing the region eligibility. * @param array $review_eligible_regions Indexed array with the current eligible regions. * @param "freeListingsProgram"|"shoppingAdsProgram" $type The program type. * * @return array The (maybe) modified $review_eligible_regions array */ private function maybe_load_eligible_region( $region_status, $review_eligible_regions, $type = 'freeListingsProgram' ) { if ( ! empty( $region_status['regionCodes'] ) && isset( $region_status['reviewEligibilityStatus'] ) && $region_status['reviewEligibilityStatus'] === self::ELIGIBLE ) { $region_codes = $region_status['regionCodes']; sort( $region_codes ); // sometimes the regions come unsorted between the different programs $region_id = $region_codes[0]; if ( ! isset( $review_eligible_regions[ $region_id ] ) ) { $review_eligible_regions[ $region_id ] = []; } $review_eligible_regions[ $region_id ][] = strtolower( $type ); // lowercase as is how we expect it in WCS } return $review_eligible_regions; } /** * Allows a hook to modify the lifetime of the Account review data. * * @return int */ public function get_account_review_lifetime(): int { return apply_filters( 'woocommerce_gla_mc_account_review_lifetime', self::MC_ACCOUNT_REVIEW_LIFETIME ); } /** * @param int $cooldown The cooldown in PHP format (seconds) * * @return int The cooldown in milliseconds and adding the lifetime cache */ private function get_cooldown( int $cooldown ) { if ( $cooldown ) { $cooldown = ( $cooldown + $this->get_account_review_lifetime() ) * 1000; } return $cooldown; } }
Warning: class_implements(): Class Automattic\WooCommerce\GoogleListingsAndAds\Google\RequestReviewStatuses 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

Warning: foreach() argument must be of type array|object, bool given in /htdocs/wp-content/plugins/google-listings-and-ads/src/Internal/DependencyManagement/AbstractServiceProvider.php on line 73
ow', 'elementor' ), 'url' => 'https://go.elementor.com/go-pro-%s', ]; } /** * @return string */ private function get_promotion_url(): string { return Utils::has_pro() ? admin_url( 'admin.php?page=elementor-license' ) : 'https://go.elementor.com/go-pro-%s'; } /** * @return array */ private function get_promotion_data(): array { return [ /* translators: %s: Widget title. */ 'title' => __( '%s Widget', 'elementor' ), /* translators: %s: Widget title. */ 'content' => __( 'Use %s widget and dozens more pro features to extend your toolbox and build sites faster and better.', 'elementor' ), 'action_button' => $this->get_action_button_content(), ]; } }
Fatal error: Uncaught Error: Class "Elementor\Core\Editor\Promotion" not found in /htdocs/wp-content/plugins/elementor/core/editor/editor.php:536 Stack trace: #0 /htdocs/wp-content/plugins/elementor/includes/plugin.php(725): Elementor\Core\Editor\Editor->__construct() #1 /htdocs/wp-content/plugins/elementor/includes/plugin.php(647): Elementor\Plugin->init_components() #2 /htdocs/wp-includes/class-wp-hook.php(324): Elementor\Plugin->init('') #3 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #4 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /htdocs/wp-settings.php(704): do_action('init') #6 /htdocs/wp-config.php(85): require_once('/htdocs/wp-sett...') #7 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #8 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #9 /htdocs/index.php(17): require('/htdocs/wp-blog...') #10 {main} thrown in /htdocs/wp-content/plugins/elementor/core/editor/editor.php on line 536