I am having trouble creating an actual page for user_register. (I have enabled and setup several users from the frontend.) The Readme says to make a blank page called user_register or have that route. When I try this I always get terrible errors.
twig An exception has been thrown during the rendering of a template (“strtr(): Ignoring replacement of empty string”)
Right now I’m trying to get my site back up. I removed the page and purged the cache to no avail. It keeps regenerating these cache files after I delete them.
./cache/compiled/config/master-testgrav.cf.php
./cache/compiled/files/53813fc400cb995a928f8caf6c8ff5cf.yaml.php
./cache/compiled/files/6befc9c94366c7230d94ebba9ea14c41.yaml.php
@yehudac, I’ve tried to create a “User Registration” page myself using the instructions from the README of the Login plugin.
I only managed to create a “User Registration” using the first method by adding a menu-item pointing to the url as set for route_register in login.yaml. Note however that the site.menu method, mentioned in the instructions, does NOT work for most themes.
I’ve created a new issue for the Login plugin to share my experience.