Describe the bug
When Form is created as public and URL shared with users, they will see only an error page, till login.
To Reproduce
Steps to reproduce the behavior:

{"reqId":"3diLOS2hyeVLkKUhYpZX","level":3,"time":"2020-05-18T11:28:05+00:00","remoteAddr":"111.111.111.111","user":"--","app":"index","method":"GET","url":"/index.php/apps/forms/form/bmHbkXVFyTHvP2Yr","message":{"Exception":"Exception","Message":"Argument 2 passed to OCA\\Forms\\Db\\NotificationMapper::findByUserAndForm() must be of the type string, null given, called in /var/www/nextcloud/apps/forms/lib/Controller/PageController.php on line 277","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Forms\\Controller\\PageController"},"gotoForm"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Forms\\Controller\\PageController","gotoForm",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"hash":"bmHbkXVFyTHvP2Yr","_route":"forms.page.goto_form"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"hash":"bmHbkXVFyTHvP2Yr","_route":"forms.page.goto_form"}]},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"hash":"bmHbkXVFyTHvP2Yr","_route":"forms.page.goto_form"}]},{"file":"/var/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/forms/form/bmHbkXVFyTHvP2Yr"]},{"file":"/var/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":109,"Previous":{"Exception":"TypeError","Message":"Argument 2 passed to OCA\\Forms\\Db\\NotificationMapper::findByUserAndForm() must be of the type string, null given, called in /var/www/nextcloud/apps/forms/lib/Controller/PageController.php on line 277","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/forms/lib/Controller/PageController.php","line":277,"function":"findByUserAndForm","class":"OCA\\Forms\\Db\\NotificationMapper","type":"->","args":[2,null]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"gotoForm","class":"OCA\\Forms\\Controller\\PageController","type":"->","args":["bmHbkXVFyTHvP2Yr"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Forms\\Controller\\PageController"},"gotoForm"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Forms\\Controller\\PageController"},"gotoForm"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Forms\\Controller\\PageController","gotoForm",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"hash":"bmHbkXVFyTHvP2Yr","_route":"forms.page.goto_form"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"hash":"bmHbkXVFyTHvP2Yr","_route":"forms.page.goto_form"}]},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"hash":"bmHbkXVFyTHvP2Yr","_route":"forms.page.goto_form"}]},{"file":"/var/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/forms/form/bmHbkXVFyTHvP2Yr"]},{"file":"/var/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/nextcloud/apps/forms/lib/Db/NotificationMapper.php","Line":65},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.4.2","id":"5ec2720a8afd8"}
Expected behavior
If Form is Public all Users that have this URL should be able to vote.
Nextcloud (please complete the following information):
Desktop (please complete the following information):
TypeError: r is undefinedrouting.js:143:42
f routing.js:143
<anonym> viewer.js:23
Webpack 3
o
<anonym>
<anonym>

Hey Georgiy,
thank you for reporting this. The bug itself has been tackled already, so with the next release it will be solved.
In case you need an immediate solution, @dawidol posted his solution in simple steps in issue #291.
If you want, you can alternatively install current beta of Forms v2.0. Detailed steps for this are given in #349. However, keep in mind it's not released yet, so can contain other bugs.
Please in future search in the old issues, if your problem has been reported yet. This makes life much easier for us to support you. ;)
Greets,
Jonas
Sorry, I did searching over issues, but somehow did not notice reported and closed issue. Thanks for hints!