Although this is also connected to supplementary files, this is clearly a different issue than the other one I posted earlier (OJS 3.0 upgrade fails to move/rename some supplementary files).
Firebug gives me a 500 Internal Server Error for
The error log says:
[Mon Sep 19 10:09:29.773372 2016] [:error] [pid 10259] [client 192.168.175.21:59773] PHP Warning: assert(): Assertion failed in /var/www/servername.fi/public_html/lib/pkp/controllers/api/file/linkAction/FileLinkAction.inc.php on line 42, referer: http://servername.fi/index.php/journalname/workflow/index/55539/5
[Mon Sep 19 10:09:29.773398 2016] [:error] [pid 10259] [client 192.168.175.21:59773] PHP Fatal error: Call to a member function getFileId() on a non-object in /var/www/servername.fi/public_html/lib/pkp/controllers/api/file/linkAction/FileLinkAction.inc.php on line 46, referer: http://servername.fi/index.php/journalname/workflow/index/55539/5
However, if I go to the public site, I can see and open every file attached to the article without any errors. So basically all the files should, and are, there and also the database should be ok. But why does the galley view get stuck?