Error when clicking PDF export (v2023)

This error occur when I click pdf export

SyntaxError: Unexpected token ‘%’, “%PDF-1.7 1”… is not valid JSONThe problem occur when I click the export to pdf in view page

Yes, I can reproduce the same issue, too.It seems this has nothing to do with the settings under Fields section.This issue happened for Export to PDF feature for View Page. However, the Export to PDF in List Page works properly.

Even I already try to create a new project and SyntaxError: Unexpected token ‘%’, “%PDF-1.7 1”… is not valid JSON still happened.
I really stuck with SyntaxError: Unexpected token ‘%’, “%PDF-1.7 1”… is not valid JSON in View page.
A lot of thing I have done but still error

Please update to the latest template, click on Tools → Update Template, after that, re-generate ALL the script files, and try again.