Error 500 when clicking on "Preview" in submission section

I cannot see the preview of submissions because it shows error 500 when clicking on the “preview” button.

Console says:
crbug/1173575, non-JS module files deprecated.
(anonymous) @ (index):6583

Source says:
No resource with given URL found

Hi @Kamd1n,

Can you please indicate which version of OJS you’re using (e.g. 3.3.0-13)? In the future, please include this information with your posts as it assists with troubleshooting.

PKP Team

I am using OJS 3.4.