I decided to switch from ReCaptcha to Honeypot after upgrading from Drupal 8 to 9. Current core version is 9.4.1. Website runs on shared server at InmotionHosting.
Install was attempted multiple times, via UI as well as manual install per Drupal instructions (https://www.drupal.org/docs/user_guide/en/extend-module-install.html). The result was the same each time.
When attempting to install Honeypot, I get the following error message:
The website encountered an unexpected error. Please try again later.
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "honeypot.config" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 206 of /websiteurl.com/core/lib/Drupal/Core/Routing/RouteProvider.php).
Installing via composer is unfortunately not an option on my environment.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3293203-4-install.patch | 652 bytes | tr |
Issue fork honeypot-3293203
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
andrew.wang commentedI'm having the same issue... Came here from Google.
Core version 9.3.17
Comment #4
tr commentedI don't know why this has cropped up after so long and so many installs. Also, the current code consistently works and installs properly in the testbot.
But here's a patch that should prevent the problem. Please try this and let me know if it fixes things for you.
Comment #5
jatingupta40 commentedI will review this.
Comment #6
jatingupta40 commentedComment #7
jatingupta40 commentedworks absolutely fine for me.
Comment #8
tr commented@JatinGupta40: Does installation fail for you without the patch?
Comment #9
jatingupta40 commented@TR: Yes, the installation got failed and it showed me this error - "The website encountered an unexpected error. Please try again later."
But worked fine after I applied the patch.
Comment #11
tr commentedCommitted. Thanks for the review and the testing.
Comment #13
mennonot commentedFor those who reached this page with this error and are not, for some reason, easily able to install the patch, I would just note that the install seems to have still worked despite the error and clearing the cache brings up the config looking normal at admin/config/content/honeypot