I was set email notification. Test email is working correctly. When I create new account, the notification sent correctly too. But when I share file or directory, then a notification isn’t sent.
In log i see this error:
Exception: {“Exception”:“Symfony\Component\Routing\Exception\MissingMandatoryParametersException”,“Message”:“Some mandatory parameters are missing (“fileid”) to generate a URL for route “files.viewcontroller.showFile”.”,“Code”:0,“Trace”:"#0 /var/www/html/owncloud/3rdparty/symfony/routing/Generator/UrlGenerator.php(136): Symfony\Component\Routing\Generator\UrlGenerator->doGenerate(Array, Array, Array, Array, Array, ‘files.viewcontr…’, 1, Array, Array)\n#1 /var/www/html/owncloud/lib/private/Route/Router.php(333): Symfony\Component\Routing\Generator\UrlGenerator->generate(‘files.viewcontr…’, Array, 1)\n#2 /var/www/html/owncloud/lib/private/Route/CachingRouter.php(60): OC\Route\Router->generate(‘files.viewcontr…’, Array, false)\n#3 /var/www/html/owncloud/lib/private/URLGenerator.php(69): OC\Route\CachingRouter->generate(‘files.viewcontr…’, Array)\n#4 /var/www/html/owncloud/lib/private/URLGenerator.php(82): OC\URLGenerator->linkToRoute(‘files.viewcontr…’, Array)\n#5 /var/www/html/owncloud/lib/private/Share/MailNotifications.php(126): OC\URLGenerator->linkToRouteAbsolute(‘files.viewcontr…’, Array)\n#6 /var/www/html/owncloud/core/ajax/share.php(77): OC\Share\MailNotifications->sendInternalShareMail(Array, ‘823’, ‘folder’)\n#7 /var/www/html/owncloud/lib/private/Route/Route.php(155) : runtime-created function(1): require_once(’/var/www/html/o…’)\n#8 [internal function]: __lambda_func()\n#9 /var/www/html/owncloud/lib/private/Route/Router.php(293): call_user_func(’\x00lambda_910’, Array)\n#10 /var/www/html/owncloud/lib/base.php(967): OC\Route\Router->match(’/core/ajax/shar…’)\n#11 /var/www/html/owncloud/index.php(48): OC::handleRequest()\n#12 {main}",“File”:"/var/www/html/owncloud/3rdparty/symfony/routing/Generator/UrlGenerator.php",“Line”:165}
Any idea how to resolve this?