If WM attempts bulk action to deactivate all plugins the import export plugin can cause a fatal error due to missing dependency.
The problem is that the call to is_plugin_active() to check whether the SiteWorks core plugin is present and active will fail if the WordPress core file where it is defined (in plugin.php) has not been loaded.
A solution is suggested in WordPress StackExchange solution by "scribu". Before calling is_plugin_active() make sure that plugin.php is loaded:
If WM attempts bulk action to deactivate all plugins the import export plugin can cause a fatal error due to missing dependency.
The problem is that the call to is_plugin_active() to check whether the SiteWorks core plugin is present and active will fail if the WordPress core file where it is defined (in plugin.php) has not been loaded.
A solution is suggested in WordPress StackExchange solution by "scribu". Before calling is_plugin_active() make sure that plugin.php is loaded:
require_once(ABSPATH.'wp-admin/includes/plugin.php');