Every time I de-activate a custom plugin, the site encounters a critical error

Your custom plugin is probably directly integrated into your theme or some other plugin. The developer must have added this notice to prevent you from deactivating by mistake the plugin and making your site behave in an unexpected way, this is not a notice issued from wordpress itself.

You need someone to look into your plugins and theme code, check where this notice originates, and remove the dependencies.