l_identifiers_values', true ); if ( ! is_array( $identifiers ) || empty( array_filter( $identifiers ) ) ) { $parent_product = wc_get_product( $product->get_parent_id() ); $identifiers = $this->get_identifier_meta( $parent_product ); } return $identifiers; } return $product->get_meta( 'wpseo_global_identifier_values', true ); } /** * * Merge the YOAST Fields with the Attribute Mapping available sources * * @param array $sources The current sources * @param string $attribute_id The Attribute ID * @return array The merged sources */ protected function load_yoast_seo_attribute_mapping_sources( array $sources, string $attribute_id ): array { if ( $attribute_id === GTIN::get_id() ) { return array_merge( self::get_yoast_seo_attribute_mapping_gtin_sources(), $sources ); } if ( $attribute_id === MPN::get_id() ) { return array_merge( self::get_yoast_seo_attribute_mapping_mpn_sources(), $sources ); } return $sources; } /** * Load the group disabled option for Attribute mapping YOAST SEO * * @return array The disabled group option */ protected function get_yoast_seo_attribute_mapping_group_source(): array { return [ 'disabled:' . self::VALUE_KEY => __( '- Yoast SEO -', 'google-listings-and-ads' ) ]; } /** * Load the GTIN Fields for Attribute mapping YOAST SEO * * @return array The GTIN sources */ protected function get_yoast_seo_attribute_mapping_gtin_sources(): array { return array_merge( self::get_yoast_seo_attribute_mapping_group_source(), [ self::VALUE_KEY . ':gtin' => __( 'GTIN Field', 'google-listings-and-ads' ) ] ); } /** * Load the MPN Fields for Attribute mapping YOAST SEO * * @return array The MPN sources */ protected function get_yoast_seo_attribute_mapping_mpn_sources(): array { return array_merge( self::get_yoast_seo_attribute_mapping_group_source(), [ self::VALUE_KEY . ':mpn' => __( 'MPN Field', 'google-listings-and-ads' ) ] ); } }
Warning: class_implements(): Class Automattic\WooCommerce\GoogleListingsAndAds\Integration\YoastWooCommerceSeo 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

Warning: class_implements(): Class Automattic\WooCommerce\GoogleListingsAndAds\Integration\IntegrationInitializer 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

Fatal error: Uncaught Error: Class "Elementor\Modules\Library\Documents\Page" not found in /htdocs/wp-content/plugins/elementor/modules/library/module.php:47 Stack trace: #0 /htdocs/wp-content/plugins/elementor/core/base/module.php(85): Elementor\Modules\Library\Module->__construct() #1 /htdocs/wp-content/plugins/elementor/core/modules-manager.php(64): Elementor\Core\Base\Module::instance() #2 /htdocs/wp-content/plugins/elementor/includes/plugin.php(730): Elementor\Core\Modules_Manager->__construct() #3 /htdocs/wp-content/plugins/elementor/includes/plugin.php(647): Elementor\Plugin->init_components() #4 /htdocs/wp-includes/class-wp-hook.php(324): Elementor\Plugin->init('') #5 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #6 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /htdocs/wp-settings.php(704): do_action('init') #8 /htdocs/wp-config.php(85): require_once('/htdocs/wp-sett...') #9 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #10 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #11 /htdocs/index.php(17): require('/htdocs/wp-blog...') #12 {main} thrown in /htdocs/wp-content/plugins/elementor/modules/library/module.php on line 47