Error viewing galley for a published article

In OJS 3.2.1.1 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 132.216.177.190:55578] PHP Fatal error: Uncaught Error: Call to a member function getFileId() on null in //lib/pkp/controllers/api/file/linkAction/FileLinkAction.inc.php:46\nStack trace:\n#0 //lib/pkp/controllers/api/file/linkAction/DownloadFileLinkAction.inc.php(37): FileLinkAction->getActionArgs(NULL, 5)\n#1 //controllers/grid/articleGalleys/ArticleGalleyGridCellProvider.inc.php(90): DownloadFileLinkAction->__construct(Object(Request), NULL, 5, ‘PDF’)\n#2 //lib/pkp/classes/controllers/grid/GridCellProvider.inc.php(56): ArticleGalleyGridCellProvider->getCellActions(Object(Request), Object(ArticleGalleyGridRow), Object(GridColumn))\n#3 /s/lib/pkp/classes/controllers/grid/GridHandler.inc.php(1104): GridCellProvider->render(Object(Request), Object(ArticleGalleyGridRow), Object(GridColumn))\n#4 //lib/pkp/classes/controllers/grid in //lib/pkp/controllers/api/file/linkAction/FileLinkAction.inc.php 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?

Thanks!