Title: Error uninstalling the plugin
Last modified: April 7, 2021

---

# Error uninstalling the plugin

 *  [redxfire](https://wordpress.org/support/users/redxfire/)
 * (@redxfire)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/error-uninstalling-the-plugin/)
 * History
 * I tried deactivating Simplest Galerry on WP 5.7 (got classic editor on) to see
   some change, but upon trying to reactivate it, I get the following error.
 * Error thrown
    Call to undefined function sga_register_gallery_type()
 * There I decided trying to delete the plugin itself, but I get the following error:
 * Please install and activate Simplest Gallery plugin!Please install and activate
   Simplest Gallery plugin!{“success”:true,”data”:{“delete”:”plugin”,”slug”:”simplest-
   gallery”,”plugin”:”simplest-gallery\/simplest-gallery.php”,”pluginName”:”Simplest
   Gallery”}}
 * How do I uninstall the plugin and go back to default gallery?
 * My galleries on WP are broken at the moment.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-uninstalling-the-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [cleoni](https://wordpress.org/support/users/cleoni/)
 * (@cleoni)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/error-uninstalling-the-plugin/#post-14286039)
 * Hello, most likely yiu are using an obsolete version, that message has been suppressed
   in recent versions.
 * So just uninstall the plugin, and download new versions of plugin+style addon.
 * Please note that the plugin does not midify your posts so all your galleries 
   will remain there, just they will be rendered differently.
 *  Thread Starter [redxfire](https://wordpress.org/support/users/redxfire/)
 * (@redxfire)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/error-uninstalling-the-plugin/#post-14286084)
 * Deleting plugin and downloading/uploading [https://downloads.wordpress.org/plugin/simplest-gallery.zip](https://downloads.wordpress.org/plugin/simplest-gallery.zip)
 * Still getting
 * Error thrown
    Call to undefined function sga_register_gallery_type()
 * If there anyway to uninstall it manually (restore WP default gallery settings?)
   Doesn’t let me activate nor uninstall.
 * Version according to WP of Simplest Gallery is 4.4.
    -  This reply was modified 5 years, 2 months ago by [redxfire](https://wordpress.org/support/users/redxfire/).
 *  Plugin Author [cleoni](https://wordpress.org/support/users/cleoni/)
 * (@cleoni)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/error-uninstalling-the-plugin/#post-14286192)
 * Please look at the installed plugins on your website.
 * For sure, you had
    1- simplest gallery (main plugin – engine) 2- a style addon
   plugin “for Simplest Gallery” (most likely outdated)
 * The style addon adds a new type of gallery but it needs the main plugin to work!
   So, if you uninstall the main plugin (1) the addon might not work or – if it 
   is an old version – it will complain and ask you to install & activate the main
   plugin.
 * So either you uninstall / deactivate both, or you keep at least the main plugin(
   1) working.
 * Hope it helps

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error uninstalling the plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simplest-gallery_fcf1d1.svg)
 * [Simplest Gallery Plugin](https://wordpress.org/plugins/simplest-gallery/)
 * [Support Threads](https://wordpress.org/support/plugin/simplest-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/simplest-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simplest-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simplest-gallery/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [cleoni](https://wordpress.org/support/users/cleoni/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/error-uninstalling-the-plugin/#post-14286192)
 * Status: not resolved