[ Solved ]Error PDF Galley Not Loaded

I managed to upgrade OJS version 3.1 to using PHP 7.2 but I noticed that galley not loaded but can be downloaded successfully.
this is the sreenshoot of the error :
galley error

PDF.js v2.5.207 (build: 0974d6052)
Message: _pdfjsLib.URL is not a constructor

browser inspect

app.js:1654 Uncaught (in promise) TypeError: _pdfjsLib.URL is not a constructor
    at validateFileURL (app.js:1654)
    at webViewerInitialized (app.js:1676)

it is because of CloudFare, so we can purge cache and its work again.

This topic was automatically closed after 4 days. New replies are no longer allowed.