Fix: file origin does not match viewer’s in PDF Viewer for WordPress

We've received many support requests with this error message and that's why this article is here. It include a video as well, so you can understand it easily. This error comes up when you have mismatch in your file url & website url structure. For example: Your site may use url like: http://www.example.com or https://www.example.com [...]

[Solved] PDF Viewer for WordPress Not working after updating to 4.5 ?

Recently we released version 4.5 of PDF Viewer for WordPress .In this version we've made the url structure shorter. If you've updated the plugin by replacing files using ftp client, you'll face an issue. The pdf files will not be displayed inside the viewer. But nothing to worry, here's the solution for you... Login to your [...]

Fixing Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/xxxxx/public_html/wp-content/plugins/pdf-viewer-for-wordpress/web/viewer-shortcode.php:3)

We received this issue from a few users. So, We did a workaround and made a way to fix. Some servers add spaces to uploaded files somehow, for encoding type I think but not totally sure. However, due to extra spaces, there's a warning message displays on top of Viewer. Warning: session_start(): Cannot send session [...]