Closed (works as designed)
Project:
Counter
Version:
8.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
14 Mar 2022 at 08:10 UTC
Updated:
27 Jul 2022 at 21:23 UTC
Jump to comment: Most recent
How to fix it = = . delete module already but can't use this site
Comments
Comment #2
jameszaro123 commentedComment #3
gaurav.kapoor commented@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.
Comment #4
per-olav commentedI 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.
Comment #5
gaurav.kapoor commented@per-olav Did you install the module via composer and can you share the exact error message?
Comment #6
per-olav commentedI didn't install using composer. Manual installation. Fails when activated. No error messages displayed before the site is broken.
Comment #7
gaurav.kapoor commented@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).
Comment #8
gaurav.kapoor commentedComment #9
per-olav commented@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.
Comment #10
per-olav commentedComment #11
vako commentedI'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.