Often the WordPress website is malfunctioning for several reasons: corrupted plugins, corrupted themes, after update/upgrade WordPress version, after update/upgrade plugins and themes. We need to know where to start the issues diagnosing.
What is the error_log file?
The error_log file contains all the issues that happen on your WordPress website. Some of these errors are visible to your users, such as fatal errors, and some aren’t, such as missing an Apache module, corrupted plugins, or corrupted themes.
Every WordPress website has a file named error_log, and you will find this file in your website directory:
In my case from the error_log file I have an issue with my Elementor plugin:
[02-May-2022 03:59:29 UTC] PHP Fatal error: Uncaught Error: Class 'Elementor\Scheme_Typography' not found in /wp-content/plugins/ultimate-elementor/modules/headings/widgets/advanced-heading.php:408 Stack trace: 0 /wp-content/plugins/ultimate-elementor/modules/headings/widgets/advanced-heading.php(92): UltimateElementor\Modules\Headings\Widgets\Advanced_Heading->register_heading_typo_content_controls() 1 /wp-content/plugins/elementor/includes/base/controls-stack.php(2280): UltimateElementor\Modules\Headings\Widgets\Advanced_Heading->_register_controls() 2 /wp-content/plugins/elementor/includes/base/controls-stack.php(494): Elementor\Controls_Stack->init_controls() 3 /wp-content/plugins/elementor/includes/base/widget-base.php(177): Elementor\Controls_Stack->get_stack() 4 /wp-content/plugins/elementor/includes/base/controls-stack.php(300): Elementor\Widget_Base->get_stack() 5 in /wp-content/plugins/ultimate-elementor/modules/headings/widgets/advanced-heading.php on line 408
If you want to know how to fix this issue I have posted an article: Click here!
But of course, you will have another issue. Lucky for us that WordPress will show you in this error_log file where the issue came from. Let’s say you have a corrupted plugin so you want to disable it, right?
But you can’t! Because your WordPress dashboard is broken. Let me show you how easy is to disable a plugin from your File Manager.
Navigate to your website directory -> wp-content -> plugins -> rename the bad plugin and check if your website is loading.
The most important thing is your WordPress website security, make sure to check this plugin: Blog Defender will lock down your money sites so you’ll never have to worry again.
Here’s How Blog Defender Is Going To Secure: Blog Defender features.