$integrity_matches['integrityhash'] !== $content_hash ) { return false; } return str_replace( $integrity_matches[0], '', $asset_matched[0] ); } } $integrity_matches['integrityhash'] !== $content_hash ) { return false; } return str_replace( $integrity_matches[0], '', $asset_matched[0] ); } }
Fatal error: Uncaught TypeError: WP_Rocket\Engine\Optimization\RUCSS\Warmup\ResourceFetcherProcess::__construct(): Argument #4 ($local_cache) must be of type WP_Rocket\Engine\Optimization\AssetsLocalCache, string given in /htdocs/wp-content/plugins/wp-rocket/inc/Engine/Optimization/RUCSS/Warmup/ResourceFetcherProcess.php:78 Stack trace: #0 [internal function]: WP_Rocket\Engine\Optimization\RUCSS\Warmup\ResourceFetcherProcess->__construct(Object(WP_Rocket\Engine\Optimization\RUCSS\Database\Queries\ResourcesQuery), Object(WP_Rocket\Engine\Optimization\RUCSS\Warmup\APIClient), Object(WP_Rocket\Admin\Options), '\\WP_Rocket\\Engi...') #1 /htdocs/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Definition/Definition.php(256): ReflectionClass->newInstanceArgs(Array) #2 /htdocs/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Definition/Definition.php(212): WP_Rocket\Dependencies\League\Container\Definition\Definition->resolveClass('\\WP_Rocket\\Engi...') #3 /htdocs/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Definition/DefinitionAggregate.php(94): WP_Rocket\Dependencies\League\Container\Definition\Definition->resolve(false) #4 /htdocs/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Container.php(157): WP_Rocket\Dependencies\League\Container\Definition\DefinitionAggregate->resolve('rucss_resource_...', false) #5 /htdocs/wp-content/plugins/wp-rocket/inc/Engine/Optimization/RUCSS/ServiceProvider.php(91): WP_Rocket\Dependencies\League\Container\Container->get('rucss_resource_...') #6 /htdocs/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/ServiceProvider/ServiceProviderAggregate.php(102): WP_Rocket\Engine\Optimization\RUCSS\ServiceProvider->register() #7 /htdocs/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Container.php(172): WP_Rocket\Dependencies\League\Container\ServiceProvider\ServiceProviderAggregate->register('rucss_status_ch...') #8 /htdocs/wp-content/plugins/wp-rocket/inc/Engine/Preload/ServiceProvider.php(56): WP_Rocket\Dependencies\League\Container\Container->get('rucss_status_ch...') #9 /htdocs/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/ServiceProvider/ServiceProviderAggregate.php(102): WP_Rocket\Engine\Preload\ServiceProvider->register() #10 /htdocs/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Container.php(172): WP_Rocket\Dependencies\League\Container\ServiceProvider\ServiceProviderAggregate->register('preload_subscri...') #11 /htdocs/wp-content/plugins/wp-rocket/inc/Plugin.php(115): WP_Rocket\Dependencies\League\Container\Container->get('preload_subscri...') #12 /htdocs/wp-content/plugins/wp-rocket/inc/main.php(48): WP_Rocket\Plugin->load() #13 /htdocs/wp-includes/class-wp-hook.php(324): rocket_init('') #14 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #15 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #16 /htdocs/wp-settings.php(559): do_action('plugins_loaded') #17 /htdocs/wp-config.php(89): require_once('/htdocs/wp-sett...') #18 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #19 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #20 /htdocs/index.php(17): require('/htdocs/wp-blog...') #21 {main} thrown in /htdocs/wp-content/plugins/wp-rocket/inc/Engine/Optimization/RUCSS/Warmup/ResourceFetcherProcess.php on line 78