You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption:
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Client configuration
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Operating system: Windows 10 (ver 1909)
Logs
Web server error log
Insert your web server log here
Nextcloud log
Or in the nextcloud log:
{"reqId":"eow2R9wdHitZjOvcKGNp","level":3,"time":"2020-05-13T14:15:01+00:00","remoteAddr":"","user":"--","app":"forms","method":"","url":"--","message":{"Exception":"RuntimeException","Message":"App class OCA\\Forms\\AppInfo\\Application is not setup via query() but directly","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/forms/lib/AppInfo/Application.php","line":41,"function":"__construct","class":"OCP\\AppFramework\\App","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":107,"function":"__construct","class":"OCA\\Forms\\AppInfo\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":133,"function":"getAppContainer","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":375,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":353,"function":"setupRoutes","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":152,"function":"requireRouteFile","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":333,"function":"loadRoutes","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":82,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/apps/theming/appinfo/app.php","line":37,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/app.php","line":266,"args":["/var/www/nextcloud/apps/theming/appinfo/app.php"],"function":"require_once"},{"file":"/var/www/nextcloud/lib/private/legacy/app.php","line":155,"function":"requireAppFile","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/app.php","line":128,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/cron.php","line":54,"function":"loadApps","class":"OC_App","type":"::"}],"File":"/var/www/nextcloud/lib/public/AppFramework/App.php","Line":80,"CustomMessage":"--"},"userAgent":"--","version":"18.0.4.2"}
Browser log
Error in the browser:
ID de la demande : oognOgG0gdnO5qYPa5sW
Type : Exception
Code : 0
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
Fichier : /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php
Ligne : 109
Thank you for reporting this. The bug itself has been tackled already, so with the next release it will be solved.
Your given solution out of the forum is good, that should work and won't break any functionality.
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.
And just for the next time - Please search in the old issues, if your problem has been reported yet. This makes life much easier for us to support you. ;)
Steps to reproduce
I have created successfully a form, It contain, dropdown choice, short answer, long answer.
Expected behaviour
I want anonymous people to be able to access the forms.
https://nxworld.club/index.php/s/ecy9Zip2DFbyJWk/preview
Actual behaviour
When I try to reach the form as "anonymous" (not logged user) with the public link.
I obtain these error:
https://nxworld.club/index.php/s/DCyG9J5Jjw52bAM/preview
Server configuration detail
Operating system: Linux 4.15.0-99-generic #100~16.04.1-Ubuntu SMP Wed Apr 22 23:56:30 UTC 2020 x86_64
Webserver: Apache/2.4.18 (Ubuntu) (apache2handler)
Database: mysql 10.0.38
PHP version:
7.2.30-1+ubuntu16.04.1+deb.sury.org+1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, json, exif, memcache, msgpack, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, smbclient, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, memcached, libsmbclient, Zend OPcache
Nextcloud version: 18.0.4 - 18.0.4.2
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: unknown
Signing status
Array
(
)
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption:
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Client configuration
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Operating system: Windows 10 (ver 1909)
Logs
Web server error log
Nextcloud log
Browser log
Error in the browser:
ID de la demande : oognOgG0gdnO5qYPa5sW
Type : Exception
Code : 0
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
Fichier : /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php
Ligne : 109
Trace
#0 /var/www/nextcloud/lib/private/AppFramework/App.php(125): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Forms\Controller\PageController), 'gotoForm')
#1 /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php(47): OC\AppFramework\App::main('OCA\Forms\Contr...', 'gotoForm', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
#2 [internal function]: OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
#3 /var/www/nextcloud/lib/private/Route/Router.php(299): call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
#4 /var/www/nextcloud/lib/base.php(1008): OC\Route\Router->match('/apps/forms/for...')
#5 /var/www/nextcloud/index.php(38): OC::handleRequest()
#6 {main}
The text was updated successfully, but these errors were encountered: