How to fix it = = . delete module already but can't use this site

Comments

jameszaro123 created an issue. See original summary.

jameszaro123’s picture

Issue summary: View changes
gaurav.kapoor’s picture

Issue summary: View changes

@jameszaro123 Can you share more details related to this error? Did you try reinstalling the module? Does the error go away when you uninstall the module? Thanks.

per-olav’s picture

I experienced the same when installing the module today on Drupal 9.3.8. Unable to reinstall. Had to restore site from backup. If you need some more info, maybe I can help.

gaurav.kapoor’s picture

@per-olav Did you install the module via composer and can you share the exact error message?

per-olav’s picture

I didn't install using composer. Manual installation. Fails when activated. No error messages displayed before the site is broken.

gaurav.kapoor’s picture

@per-olav Please install the module using composer as depends upon an external library 'matomo/device-detector'. In case you cannot install it via composer, make sure this file https://github.com/matomo-org/device-detector/archive/refs/tags/5.0.3.zip is downloaded and extracted in your vendor directory (/vendor/matomo/device-detector).

gaurav.kapoor’s picture

Status: Active » Postponed (maintainer needs more info)
per-olav’s picture

@gaurav.kapoor Thanks for the instructions. I think I've managed to get it work now on a test site. Composer looks like the best way, but unfortunately it's not available for me.

per-olav’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)
vako’s picture

I'm having the exact same issue. Just installed the module manually and after I activated the module, the site gave the error:
"The website encountered an unexpected error. Please try again later."
I cannot login as admin and don't have any UI

I deleted the counter module manually and then tried to run update.php and it gave an error as counter module is missing. So I copied it back to the \modules folder.

Did the suggestion by #7 above and it didn't help either.
Updated to D 9.4.3 still no success.

Any help is appreciated.