Skip to content

Need Support?

Discover Themes

Need Support?

Discover Themes

Need Support?

Discover Themes

Getting Started

7
  • Theme Updates
  • Installing Required Plugins
  • Install Using FTP
  • Theme Installation & Activation
  • What We Offer (Downloaded Packages)
  • WordPress Installation
  • Server Requirements

Site Setup

4
  • Turn on Coming Soon / Maintenance Mode (Elementor)
  • Adding Coustom 404 Page
  • Customizing Your Menu
  • Adding a Favicon to your Site

Theme Options

9
  • Content Management
  • SEO Management
  • Cache Management
  • Back To Top
  • Typography & Custom Fonts
  • Back To Top (Scroll to Top Button)
  • Cursor / Mouse Movement Animation
  • Change Global Color
  • Enable Dark or Light Mode in Rakmyat Themes

Theme Builder

5
  • Mega Menu 
  • Adding Coustom 404 Page
  • Template Builder
  • Footer 
  • Header Template

Portfolio

4
  • Creating a Single Portfolio Item
  • Creating a Portfolio Archive Page
  • Portfolio Display Name
  • Change Portfolio Slug

Services

4
  • Services Display Name
  •  Creating a Single Service
  •  Creating a Services Archive Page
  • Change Services Slug

How to

5
  • How to Give Access to Your WordPress Website
  • Change Global Color
  • Enable Dark or Light Mode in Rakmyat Themes
  • Adding Coustom 404 Page
  • Turn on Coming Soon / Maintenance Mode (Elementor)

Troubleshooting

5
  • Elementor Not Loading – Troubleshooting Guide
  • Demo Import Failed to Import in WordPress Theme
  • How to Fix the “Critical Error on Your Website”
  • WPML Not Detecting Custom Post Types
  • System Status

Demo Import

4
  • Demo Import Failed to Import in WordPress Theme
  • Manual Demo Import (OCDI + Elementor)
  • Importing Demo Locally from Theme Folder
  • Importing Demo (Default Method via Server HTTP Request)

Full Site Editing

7
  • Adding Coustom 404 Page
  •  Creating a Services Archive Page
  •  Creating a Single Service
  • Creating a Portfolio Archive Page
  • Creating a Single Portfolio Item
  • Footer 
  • Header Template
View Categories
  • Home
  • Docs
  • Troubleshooting
  • How to Fix the “Critical Error on Your Website”

How to Fix the “Critical Error on Your Website”

1 min read

This error usually appears when a plugin, theme, or PHP configuration breaks the site.
Use the steps below in order, they are safe for most cases.


1. Enable WordPress Recovery Mode (if available) #

When the error happens, WordPress often sends an email to the admin address with a “Recovery Mode” link.

  1. Open the email with subject like “Your Site is Experiencing a Technical Issue”.
  2. Click the recovery link and log in.
  3. WordPress will show which plugin or theme caused the error and let you deactivate it with one click.

If you do not have the email or cannot access it, continue with the next steps.


2. Deactivate plugins via FTP or File Manager #

Most critical errors are caused by a plugin conflict.

  1. Access your site files via hosting File Manager or FTP.
  2. Go to wp-content/.
  3. Rename the folder plugins to plugins-disabled.
  4. Visit your site again:
    • If it loads, the problem is one of the plugins.
  5. Rename the folder back to plugins, then:
    • Inside plugins, rename each plugin folder one by one (for example elementor → elementor-disabled).
    • After each rename, reload the site until it works.
  6. Once you find the plugin causing the issue, leave it disabled and replace/update it.

3. Switch to a default theme #

If disabling plugins does not help, the issue may be with the active theme or a child theme.

  1. In wp-content/themes/, make sure a default theme like twentytwentyfour exists.
  2. Rename your active theme folder (for example portfoliocraft → portfoliocraft-disabled).
  3. WordPress will automatically fall back to the default theme.
  4. If the site works now, the issue is in the theme or custom code added to it (functions.php, custom plugins, etc.).

4. Check PHP version and memory limit #

Some themes and plugins require a minimum PHP version and enough memory.

  1. In your hosting control panel, check PHP version:
    • Use at least PHP 7.4 (better 8.0+).
  2. Increase PHP/WordPress memory limit to at least 256M (512M recommended) by adding in wp-config.php before the line “That’s all, stop editing”:
phpdefine( 'WP_MEMORY_LIMIT', '512M' );
  1. Save and reload the site.

5. Enable debug mode to see the real error #

If the error still appears, turn on debugging to see the exact problem.

  1. Open wp-config.php.
  2. Find: define( 'WP_DEBUG', false );
  3. Change it to:
phpdefine( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
  1. Visit the site again.
  2. Check the file wp-content/debug.log on the server.
    • The last lines will show which file and which plugin/theme triggered the fatal error.
  3. Fix or disable the component mentioned there.

After finishing, set WP_DEBUG back to false for production.


6. Restore from backup if needed #

If none of the steps help and you have a recent backup:

  1. Use your hosting backup tool or a plugin backup to restore the site to a working state.
  2. After restore, update themes/plugins one by one and test to 
Updated on December 16, 2025

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
WPML Not Detecting Custom Post TypesDemo Import Failed to Import in WordPress Theme

Leave a Comment Cancel Reply

Your email address will not be published. Required fields are marked *

Table of Contents
  • 1. Enable WordPress Recovery Mode (if available)
  • 2. Deactivate plugins via FTP or File Manager
  • 3. Switch to a default theme
  • 4. Check PHP version and memory limit
  • 5. Enable debug mode to see the real error
  • 6. Restore from backup if needed

We design modern, performance‑focused WordPress themes that give you full control over your website – from visual identity to conversion‑driven layouts.

Helpful resources

  • Getting Started
  • How to
  • Site Setup
  • Theme Options
  • Theme Builder
  • Demo Import

Need help?

Our support team is here to assist with setup, customization questions, and technical issues. Open a support ticket any time and we’ll get back to you as soon as possible

Contact Us

Copyright © 2025 Rakmyat All Rights Reserved.