Error viewing galley for a published article

In OJS on PHP 7.3.29, I am trying to view the galley for a published article in the admin panel (Submissions - Archives - Publication - Galleys) and I get the spinner loading infinitely.

I get a 500 error from this route: https:///$$$call$$$/grid/article-galleys/article-galley-grid/fetch-grid?submissionId=<…>&publicationId=<…>&_=<…>

This error is in the log:
[php7:error] [pid 40251] [client] PHP Fatal error: Uncaught Error: Call to a member function getFileId() on null in //lib/pkp/controllers/api/file/linkAction/\nStack trace:\n#0 //lib/pkp/controllers/api/file/linkAction/ FileLinkAction->getActionArgs(NULL, 5)\n#1 //controllers/grid/articleGalleys/ DownloadFileLinkAction->__construct(Object(Request), NULL, 5, ‘PDF’)\n#2 //lib/pkp/classes/controllers/grid/ ArticleGalleyGridCellProvider->getCellActions(Object(Request), Object(ArticleGalleyGridRow), Object(GridColumn))\n#3 /s/lib/pkp/classes/controllers/grid/ GridCellProvider->render(Object(Request), Object(ArticleGalleyGridRow), Object(GridColumn))\n#4 //lib/pkp/classes/controllers/grid in //lib/pkp/controllers/api/file/linkAction/ on line 46, referer: https:///workflow/index/2/5

I’ve cleared the data & template caches as recommended in Can't upload new galleys in an old article - #2 by rcgillis and still get the same error.

How can I resolve this?