Early Black Friday: Divi Doctor Lifetime for $129 (unlimited sites). Ends Cyber Monday. 14-day money-back guarantee.

Safe Mode controls

Divi’s Safe Mode switches off every plugin, the child theme and all custom code at once, for the logged-in user who turned it on. That tells you that something on the site causes a problem, but not what. With the Safe Mode controls in Divi Doctor by YemLogic you choose what Safe Mode switches off: the plugins, the child theme, the Custom CSS and the Integration code, and in Divi Doctor Pro each plugin on its own. This page covers how to switch the controls on, how to find the cause of a problem with them, who is affected, and the safety nets.

Enabling the controls, switching off only the plugins, turning Safe Mode on from the same screen, and narrowing it down plugin by plugin in Divi Doctor Pro.

What the controls add

Divi’s Safe ModeWith the Safe Mode controls
PluginsAll switched off (except a few on Divi’s own list, such as WooCommerce)All switched off, or all kept. In Divi Doctor Pro: each plugin on its own, including the ones on Divi’s list
Child themeSwitched off (the parent theme loads)Switched off or kept
Custom CSSSwitched offSwitched off or kept
Integration codeSwitched offSwitched off or kept
Where you turn it onDivi → Support CenterDivi Doctor → Safe Mode, on the same screen as the choices (Divi’s own switch keeps working)
Who is affectedOnly you, in your browserOnly you, in your browser

The controls use Divi’s own Safe Mode: its switch, its cookie and its must-use plugin files. They only change what it switches off. The site’s list of active plugins is never changed.

Switch the controls on

  1. Go to Divi Doctor → Safe Mode.
  2. On the Safe Mode controls card, click Enable.

Everything is ticked at first, which is exactly what Divi’s Safe Mode does, so enabling the controls changes nothing until you untick something. While the controls are disabled, Divi’s Safe Mode works as it does without Divi Doctor.

Note: While the controls are enabled, Divi Doctor itself stays active in Safe Mode, with the fixes and features you switched on. It has to, to apply your choices. To rule out Divi Doctor as the cause, disable the controls and use Divi’s Safe Mode from Divi → Support Center.

Choose what Safe Mode switches off

Under What Safe Mode switches off, a ticked box means “switched off for you while Safe Mode is on”. An unticked box means “stays active”.

ChoiceWhat it covers
Switch off pluginsEvery active plugin, except Divi Doctor, network-activated plugins and the plugins on Divi’s own list. Untick it to keep every plugin active in Safe Mode.
Switch off the child themeSafe Mode loads the parent theme for you. If no child theme is active, the screen says so and the choice changes nothing.
Switch off the Custom CSSDivi → Theme Options → General → Custom CSS, which is also Appearance → Customize → Additional CSS.
Switch off the Integration codeDivi → Theme Options → Integration: the code added to the head, the body, and the top and bottom of posts.

Untick what should stay active and click Save choices. The choices apply from the next page you open in Safe Mode, so you can change them while Safe Mode is on.

Turn Safe Mode on and off

  1. With the controls enabled, click Turn Safe Mode on at the top of Divi Doctor → Safe Mode.
  2. Open the page that has the problem, in the same browser.
  3. When you are done, click Turn Safe Mode off on the same screen, or Divi’s Turn Off Safe Mode button that shows at the bottom of every page.

While Safe Mode is on, the top of the screen shows what your browser gets right now, for example 3 of 5 active plugins off; theme: Divi.

Find the cause of a problem

  1. Enable the controls and turn Safe Mode on with everything ticked. If the problem is still there, it does not come from a plugin, the child theme or custom code.
  2. If the problem is gone, untick the Custom CSS and the Integration code and save. Problem back? It is in that code.
  3. Still gone? Untick the child theme and save. Problem back? It is in the child theme.
  4. Still gone? Then a plugin causes it. In Divi Doctor Pro, go on with the next section. In the free plugin, deactivate plugins one at a time on a staging copy of the site. For the whole process after an update, from the first checks to the fix, see Divi site broke after an update.

Divi Doctor Pro: choose plugin by plugin

In Divi Doctor Pro, the Plugins panel lists every active plugin with its own tick box.

  • Keep active and Switch off change one plugin and save right away.
  • Tick all, Untick all and Invert change the whole list; then click Save choices.
  • To find the plugin behind a problem, keep half of the plugins active, check the page, and narrow it down.
  • Plugins on Divi’s own list (WooCommerce and a few others) stay active in Divi’s Safe Mode. Here they stay active unless you tick them.
  • Divi Doctor stays active, to run this screen. Network-activated plugins stay active too.

In the free plugin, Doctor for Divi, the panel shows the same list for reference, and the choice is all plugins or none.

Who is affected

Only the logged-in user who turned Safe Mode on, in the browser where it was turned on, exactly as with Divi’s Safe Mode. Divi ties it to a cookie that lasts one day. Visitors and other users get the normal site. The choices are saved for the site and apply to whoever has Safe Mode on.

Safety nets

The Plugins screen while Safe Mode is on

While Safe Mode is on, the plugins it switches off look inactive to you on the Plugins screen. If you activate or deactivate a plugin there, WordPress would save that shortened list, and the hidden plugins would be deactivated for all visitors. With the controls enabled, Divi Doctor keeps them active for everyone else. The Plugins screen shows a notice, and those plugins get the note Active on the site, switched off for you by Safe Mode in place of their Activate and Delete links, so they can’t be deleted while they only look inactive.

If a page shows an error

A child theme or plugin that stays active can need a plugin that is switched off. If a page then fails for you, open this address in the same browser: https://your-site.com/?ddoc-safe-mode-exit=1. Plugins and the child theme load again. Deleting the cookie et-support-center-safe-mode does the same, and it ends by itself after one day. Visitors are never affected.

Good to know

  • While Safe Mode is on, Divi also leaves out its Theme Customizer styles and prints its CSS in the page instead of loading its cached CSS files. That is Divi’s own behavior and is not changed, so fonts, colors or sizes set in the Theme Customizer can look different for you.
  • Divi’s Support Center card keeps listing every plugin as disabled. The choices on the Divi Doctor screen are what applies while the controls are enabled.
  • Safe Mode switches off plugins and the child theme only when Divi can write to the must-use plugins folder (wp-content/mu-plugins). The screen shows whether it is writable.
  • The controls need the Divi theme. They were checked with Divi 5.19.0 and Divi 4.27.9.

Questions

Does Divi’s Safe Mode affect my visitors?

No. Safe Mode only applies to the logged-in user who turned it on, in that browser. Visitors and other users keep seeing the normal site, with or without the Safe Mode controls.

Can I keep one plugin active in Divi’s Safe Mode?

Yes, with Divi Doctor Pro. Enable the Safe Mode controls under Divi Doctor → Safe Mode and untick the plugin, or click Keep active next to it. The free plugin, Doctor for Divi, lets you keep all plugins active or switch all of them off.

How do I keep my child theme active in Divi’s Safe Mode?

Enable the Safe Mode controls under Divi Doctor → Safe Mode, untick “Switch off the child theme”, save, and turn Safe Mode on. The site then loads without its plugins but with the child theme.

A page shows an error while Safe Mode is on. What do I do?

Open your site’s address with ?ddoc-safe-mode-exit=1 at the end, in the same browser. That ends Safe Mode in your browser, so plugins and the child theme load again.

What does Divi’s Safe Mode switch off?

Every plugin, except a few on Divi’s own list such as WooCommerce, the child theme, the Custom CSS and the Integration code, for the logged-in user who turned it on. With the Safe Mode controls you choose which of these it switches off.

How do I find which plugin breaks my Divi site?

Turn Safe Mode on with only the plugins switched off. If the problem is gone, a plugin causes it. In Divi Doctor Pro, keep half of the plugins active under Divi Doctor → Safe Mode, check the page again, and narrow it down until one plugin is left. In the free plugin, deactivate plugins one at a time on a staging copy of the site.

Where do I turn Divi’s Safe Mode on and off?

In Divi → Support Center. With the Safe Mode controls enabled you can also click Turn Safe Mode on at the top of Divi Doctor → Safe Mode. Turn it off on the same screen, or with Divi’s Turn Off Safe Mode button at the bottom of every page.

Does Safe Mode deactivate my plugins?

No. It only switches them off for you while it is on, and the site’s list of active plugins isn’t changed. There is one risk: if you activate or deactivate a plugin on the Plugins screen while Safe Mode is on, WordPress would save the shortened list and the hidden plugins would be deactivated for everyone. With the Safe Mode controls enabled, Divi Doctor keeps them active for everyone else.

How long does Divi’s Safe Mode stay on?

Until you turn it off, or for one day. Divi ties Safe Mode to a cookie in your browser that lasts one day.

Do the Safe Mode controls work with Divi 4?

Yes. They need the Divi theme and were checked with Divi 5.19.0 and Divi 4.27.9.

Why does my site look different in Safe Mode when I keep everything active?

While Safe Mode is on, Divi leaves out its Theme Customizer styles and prints its CSS in the page instead of loading its cached CSS files. That is Divi’s own behavior, so fonts, colors or sizes set in the Theme Customizer can look different for you.

Are the Safe Mode controls free?

Choosing by group (the plugins, the child theme, the Custom CSS, the Integration code) is in both plugins, the free Doctor for Divi and Divi Doctor Pro. Choosing plugin by plugin is part of Divi Doctor Pro.

See also Doctor for Divi (free) and Divi Doctor Pro and FAQ and troubleshooting.