s['type'] = 'kirki-image'; } return $args; } /** * Filter for output argument used by the kirki-framework/module-css module. * * @access public * @since 1.0 * @param array $output A single output item. * @param mixed $value The value. * @param array $all_outputs All field output args. * @param array $field The field arguments. * @return array */ public function output_item_args( $output, $value, $all_outputs, $field ) { if ( $field['settings'] === $this->args['settings'] ) { if ( isset( $output['property'] ) && in_array( [ 'background', 'background-image' ], $output['property'], true ) ) { if ( ! isset( $output['value_pattern'] ) || empty( $output['value_pattern'] ) || '$' === $output['value_pattern'] ) { $output['value_pattern'] = 'url("$")'; } } } return $output; } /** * Adds a custom output class for typography fields. * * @access public * @since 1.0 * @param array $classnames The array of classnames. * @return array */ public function output_control_classnames( $classnames ) { $classnames['kirki-image'] = '\Kirki\Field\CSS\Image'; return $classnames; } }
Fatal error: Uncaught Error: Interface "MailPoetVendor\Doctrine\Common\Cache\FlushableCache" not found in /htdocs/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php:8 Stack trace: #0 /htdocs/wp-content/plugins/all-in-one-seo-pack/vendor/composer/ClassLoader.php(576): include() #1 /htdocs/wp-content/plugins/all-in-one-seo-pack/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/htdocs/wp-cont...') #2 /htdocs/wp-content/plugins/mailpoet/lib/Doctrine/MetadataCache.php(16): Composer\Autoload\ClassLoader->loadClass('MailPoetVendor\\...') #3 /htdocs/wp-content/plugins/all-in-one-seo-pack/vendor/composer/ClassLoader.php(576): include('/htdocs/wp-cont...') #4 /htdocs/wp-content/plugins/all-in-one-seo-pack/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/htdocs/wp-cont...') #5 /htdocs/wp-content/plugins/mailpoet/lib/Doctrine/PSRMetadataCache.php(19): Composer\Autoload\ClassLoader->loadClass('MailPoet\\Doctri...') #6 /htdocs/wp-content/plugins/mailpoet/lib/Doctrine/ConfigurationFactory.php(50): MailPoet\Doctrine\PSRMetadataCache->__construct('/htdocs/wp-cont...', true) #7 /htdocs/wp-content/plugins/mailpoet/lib/Doctrine/ConfigurationFactory.php(38): MailPoet\Doctrine\ConfigurationFactory->configureMetadata(Object(MailPoetVendor\Doctrine\ORM\Configuration)) #8 /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(3226): MailPoet\Doctrine\ConfigurationFactory->createConfiguration() #9 /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(646): MailPoetGenerated\FreeCachedContainer->getEntityManagerFactoryService() #10 /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(4908): MailPoetGenerated\FreeCachedContainer->getEntityManagerService() #11 /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(4898): MailPoetGenerated\FreeCachedContainer->getSettingsRepositoryService() #12 /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(2633): MailPoetGenerated\FreeCachedContainer->getSettingsController2Service() #13 /htdocs/wp-content/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Container.php(122): MailPoetGenerated\FreeCachedContainer->getInitializerService() #14 /htdocs/wp-content/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Container.php(110): MailPoetVendor\Symfony\Component\DependencyInjection\Container->make('MailPoet\\Config...', 1) #15 /htdocs/wp-content/plugins/mailpoet/lib/DI/ContainerWrapper.php(39): MailPoetVendor\Symfony\Component\DependencyInjection\Container->get('MailPoet\\Config...') #16 /htdocs/wp-content/plugins/mailpoet/mailpoet_initializer.php(89): MailPoet\DI\ContainerWrapper->get('MailPoet\\Config...') #17 /htdocs/wp-content/plugins/mailpoet/mailpoet.php(194): require_once('/htdocs/wp-cont...') #18 /htdocs/wp-settings.php(526): include_once('/htdocs/wp-cont...') #19 /htdocs/wp-config.php(85): require_once('/htdocs/wp-sett...') #20 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #21 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #22 /htdocs/index.php(17): require('/htdocs/wp-blog...') #23 {main} thrown in /htdocs/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php on line 8