In this article, we will explain how to resolve critical error your website with step by step process.
How to resolve “there has been a critical error on your website”
An error of type E_ERROR was caused in line 42 of the file /var/www/wp-content/plugins/wp
-optimize/minify/class-wp-opti mize-minify-incompatible-plugi ns.php. Error message: Uncaught Error: Call to private WP_Optimize_Detect_Cache_Plugi ns::__construct() from context 'WP_Optimize_Minify_Incompatib le_Plugins' in /var/www/wp-content/plugins/wp -optimize/minify/class-wp-opti mize-minify-incompatible-plugi ns.php:42 Stack trace: #0 /var/www/wp-content/plugins/wp -optimize/minify/class-wp-opti mize-minify.php(16): WP_Optimize_Minify_Incompatibl e_Plugins::instance() #1 /var/www/wp-content/plugins/wp -optimize/wp-optimize.php(132) : WP_Optimize_Minify->__construc t() #2 /var/www/wp-content/plugins/wp -optimize/wp-optimize.php(406) : WP_Optimize->get_minify() #3 /var/www/wp-includes/class-wp- hook.php(287): WP_Optimize->plugins_loaded('' ) #4 /var/www/wp-includes/class-wp- hook.php(311): WP_Hook->apply_filters(Object( GEM_Official), Array) #5 /var/www/wp-includes/plugin.ph p(478): WP_Hook->do_action(Array) #6 /var/www/wp-settings.php(409): do_action('plugins_loaded') #7 /var/www/wp-config.php(97): require_once('/var/www/wp-set. ..') #8 /var/www/wp-load.php(37): require_once('/var/www/wp-con. ..') #9 /var/
I got below error while login into word press admin site.
Here we provided simple solution for above error.
First, you will check with you’re host and domain company supporters like Customer support.
They will resolve the this type of issues.
Otherwise, if you’ve any chance to change normal mode to debug mode. Before debug mode, first you will take backup all files then try to change any plugins update/ uninstall in Word press dashboard.
Summary: The above resolutions is very simple for all blogs, this type of error may cause plugins update issue or install issues in word press dashboard. If you don’t have chance to check in the admin page then try to check with customer support for quick response. In case if you’ve any chance login into word press admin page then update plugins in the dashboard. In my case one of plugin not updated then I’ve checked with customer support after that issue has been resolved.