backdrop-contrib / smtp

Backdrop CMS port of the SMTP module for Drupal 7
GNU General Public License v2.0
4 stars 5 forks source link

Can't uninstall #26

Open samgreco opened 10 months ago

samgreco commented 10 months ago

When trying to uninstall I get: Call to a member function get() on null

Website can't seem to authenticate to Office365, so I am trying to uninstall and reinstall clean. This was an upgrade from Drupal 7.

SMTP Version 1.x-1.7.1

indigoxela commented 7 months ago

Confirmed, the problem is a non-existent config variable here: https://github.com/backdrop-contrib/smtp/blob/1.x-1.x/smtp.install#L47

$config = config('smtp.settings');
bugfolder commented 7 months ago

PR submitted that fixes it.

indigoxela commented 7 months ago

@bugfolder wow, that was fast!

I can confirm, that the patch fixes the problem. :+1:

yorkshire-pudding commented 2 months ago

I can also confirm that this fixes the issue. @jenlampton please can you merge and release?