isPluginActivated('GeoIP2')) { @Manager::getInstance()->deactivatePlugin('GeoIP2'); $notification = new Notification('GeoIP2 plugin from Marketplace has been removed due to compatibility issues. Please check your geolocation settings.'); $notification->context = Notification::CONTEXT_WARNING; $notification->type = Notification::TYPE_PERSISTENT; Notification\Manager::notify('GeoIP2_update_warning', $notification); } // uninstall the plugin to remove it from config @Manager::getInstance()->uninstallPlugin('GeoIP2'); } } catch (\Exception $e) { } } }