Remove defective plugin

Under certain circumstances, a plugin may no longer function properly and can not be deactivated or uninstalled correctly in the Plugin Manager. In these cases, it is possible to remove the plugin and the associated plugin data manually.

Note that you will be removing data from the database and files from your server. So make sure you have a backup of the database and your data so that you can restore everything in case of an emergency.

Deactivate functions

First, you should deactivate the functions of the affected plugin. For example, if it is a payment plugin or a shipping plugin, deactivate the respective payment method or shipping method so that it can no longer be used by customers. In general, the functions provided by the defective plugin should no longer be used so that problems do not arise when the plugin is removed.

Remove database entry

If you only want to deactivate the plugin, it is sufficient to set the entry in the active column of the respective plugin to 0 in the database table s_core_plugins. This can be sufficient to solve the problems caused by the defective plugin. 
If you want to remove it completely because it is still causing problems or even because it is to be completely reinstalled, you can remove the data record of the plugin in the database table s_core_plugins.

Remove plugin data

The plugin may also have created a plugin directory that should be physically removed from your server. You will usually find this in the Shopware main directory under engine/Shopware/Plugins/. This directory has the three subfolders Community, Default and Local, which each have the three subfolders Backend, Core and Frontend.The directory of the plug-in can usually be found in one of these subfolders. If it cannot be found here, you should ask the manufacturer of the plugin whether and where the physical data is stored.

Was this article helpful?