Warning: include(): Failed opening '/home/mubasher/public_html/wp-content/plugins/wp-rocket/vendor/composer/../../inc/Engine/Media/Fonts/Context/OptimizationContext.php' for inclusion (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in /home/mubasher/public_html/wp-content/plugins/seo-by-rank-math-pro/vendor/composer/ClassLoader.php on line 576
Fatal error: Uncaught TypeError: WP_Rocket\Engine\Media\Fonts\Frontend\Controller::__construct(): Argument #1 ($optimization_context) must be of type WP_Rocket\Engine\Media\Fonts\Context\OptimizationContext, string given in /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Engine/Media/Fonts/Frontend/Controller.php:66
Stack trace:
#0 [internal function]: WP_Rocket\Engine\Media\Fonts\Frontend\Controller->__construct('WP_Rocket\\Engin...', Object(WP_Rocket\Engine\Media\Fonts\Context\SaasContext), Object(WP_Rocket\Engine\Media\Fonts\Filesystem))
#1 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Definition/Definition.php(225): ReflectionClass->newInstanceArgs(Array)
#2 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Definition/Definition.php(181): WP_Rocket\Dependencies\League\Container\Definition\Definition->resolveClass('WP_Rocket\\Engin...')
#3 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Definition/Definition.php(160): WP_Rocket\Dependencies\League\Container\Definition\Definition->resolveNew()
#4 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Definition/DefinitionAggregate.php(79): WP_Rocket\Dependencies\League\Container\Definition\Definition->resolve()
#5 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Container.php(175): WP_Rocket\Dependencies\League\Container\Definition\DefinitionAggregate->resolve('media_fonts_fro...')
#6 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Container.php(118): WP_Rocket\Dependencies\League\Container\Container->resolve('media_fonts_fro...')
#7 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Argument/ArgumentResolverTrait.php(45): WP_Rocket\Dependencies\League\Container\Container->get('media_fonts_fro...')
#8 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Definition/Definition.php(223): WP_Rocket\Dependencies\League\Container\Definition\Definition->resolveArguments(Array)
#9 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Definition/Definition.php(181): WP_Rocket\Dependencies\League\Container\Definition\Definition->resolveClass('WP_Rocket\\Engin...')
#10 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Definition/Definition.php(160): WP_Rocket\Dependencies\League\Container\Definition\Definition->resolveNew()
#11 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Definition/DefinitionAggregate.php(79): WP_Rocket\Dependencies\League\Container\Definition\Definition->resolve()
#12 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Container.php(175): WP_Rocket\Dependencies\League\Container\Definition\DefinitionAggregate->resolve('media_fonts_fro...')
#13 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Container.php(198): WP_Rocket\Dependencies\League\Container\Container->resolve('media_fonts_fro...', false)
#14 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Dependencies/League/Container/Container.php(118): WP_Rocket\Dependencies\League\Container\Container->resolve('media_fonts_fro...')
#15 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Plugin.php(170): WP_Rocket\Dependencies\League\Container\Container->get('media_fonts_fro...')
#16 /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/main.php(47): WP_Rocket\Plugin->load()
#17 /home/mubasher/public_html/wp-includes/class-wp-hook.php(324): rocket_init('')
#18 /home/mubasher/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#19 /home/mubasher/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#20 /home/mubasher/public_html/wp-settings.php(559): do_action('plugins_loaded')
#21 /home/mubasher/public_html/wp-config.php(68): require_once('/home/mubasher/...')
#22 /home/mubasher/public_html/wp-load.php(50): require_once('/home/mubasher/...')
#23 /home/mubasher/public_html/wp-blog-header.php(13): require_once('/home/mubasher/...')
#24 /home/mubasher/public_html/index.php(17): require('/home/mubasher/...')
#25 {main}
thrown in /home/mubasher/public_html/wp-content/plugins/wp-rocket/inc/Engine/Media/Fonts/Frontend/Controller.php on line 66