Hi,

Something has gone badly wrong with my installation and now I cannot uninstall...

After an install, I see the setup section in Configuration but no entry for Simplenews under 'Create Content'.

When I try to uninstall, I first go to setup and Settings and "Prepare Uninstall/Delete Simplenews Data. When I hit that button I get:
An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /batch?id=10&op=do_nojs&op=do
StatusText: 500 Service unavailable (with message)
ResponseText: The website encountered an unexpected error. Please try again later.

I cannot see my Uninstall Modules page at all. I get: The website encountered an unexpected error. Please try again later.

In Logs I have:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'assc.simplenews_subscriber' doesn't exist: SELECT base_table.id AS id, base_table.id AS base_table_id FROM {simplenews_subscriber} base_table LIMIT 100 OFFSET 0; Array ( ) in Drupal\simplenews\Form\PrepareUninstallForm::deleteSubscribers() (line 66 of /Volumes/simondav/DrupalDevSites/GitKraken/asccD8Composer/drupal-composer-build/web/modules/contrib/simplenews/src/Form/PrepareUninstallForm.php).

I can see Some empty DB tables... See attachment.

Can you help me past this please? (In simple Newb Terms..)

I have looked at many similar old issues but can't really understand them...
https://www.drupal.org/project/simplenews/issues/2830607
https://www.drupal.org/project/simplenews/issues/2825415
https://www.drupal.org/project/simplenews/issues/2773403
https://www.drupal.org/project/simplenews/issues/2923242

Thanks :-)

S

CommentFileSizeAuthor
Screen Shot 2018-12-19 at 15.15.26.png786.43 KBSMartin

Comments

SMartin created an issue. See original summary.

SMartin’s picture

Issue summary: View changes
SMartin’s picture

Is there nobody to help me with this one...?

manuel garcia’s picture

Status: Active » Needs review

I was just testing the module for D8, and I could be wrong, but I believe you have to go first to /admin/config/services/simplenews/settings/uninstall and click the Delete simplenews data button.

I did that before uninstalling the module after testing it a bit and had no problems.

adamps’s picture

Status: Needs review » Fixed

Seems to be answered

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

back from 7’s picture

This is still an issue. This module will not unistall. After I click "delete simple news data" button, I still can't uninstall this module.

Can someone please give a straight forward answer as how to completely remove this module? Can this be done through the database.

This is beyond frustrating

back from 7’s picture

Drupal should have a rating option for modules. Some premium themes include these modules and it totally destroys the theme layer that most people are concerned with...

gonzalo2683’s picture

In my case, after clicking the button to prepare the installation, I got the following error:

Version: 2.0.0-beta1

Symfony \ Component \ Routing \ Exception \ RouteNotFoundException: Route
"view.simplenews_newsletters.page_1" does not exist.

And the site became inaccessible, then I uninstalled the module by drush and the site worked again.

Although it is a problem that the site is broken until you completely uninstall the module, this should be done automatically by the uninstallation hook.

umac_de’s picture

@ #9
Same here...