Title: Receiving PDFjs Error
Last modified: August 21, 2016

---

# Receiving PDFjs Error

 *  Resolved [jameswantstoknowyou](https://wordpress.org/support/users/jameswantstoknowyou/)
 * (@jameswantstoknowyou)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/receiving-pdfjs-error/)
 * Hi-
 * I installed the updated & receiving the following error at the top of my pages
   now:
 * “Warning: session_start() [function.session-start]: Cannot send session cache
   limiter – headers already sent (output started at /home/content/21/10768021/html/
   wp-content/plugins/pdfjs-viewer-shortcode/pdfjs-viewer.php:1) in /home/content/
   21/10768021/html/wp-content/themes/DynamiX/functions.php on line 1”
 * Any ideas what’s wrong? Do you have a fix for this?
 * Thanks!
    James
 * [http://wordpress.org/plugins/pdfjs-viewer-shortcode/](http://wordpress.org/plugins/pdfjs-viewer-shortcode/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Ben Lawson](https://wordpress.org/support/users/falconerweb/)
 * (@falconerweb)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/receiving-pdfjs-error/#post-4520427)
 * This PHP error is caused when content is output before a session starts (session_start()).
 * Try deleting all of the spaces at the beginning of pdfjs-viewer.php .
 * That causes trouble for some people and it mysteriously keeps reappearing.
 *  Thread Starter [jameswantstoknowyou](https://wordpress.org/support/users/jameswantstoknowyou/)
 * (@jameswantstoknowyou)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/receiving-pdfjs-error/#post-4520428)
 * That fixed the problem. THANKS for your help!
 * James
    [http://JamesWantsToKnowYou.com](http://JamesWantsToKnowYou.com)
 *  Plugin Author [Ben Lawson](https://wordpress.org/support/users/falconerweb/)
 * (@falconerweb)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/receiving-pdfjs-error/#post-4520429)
 * I have updated that file, just reinstall the plugin to apply it.
 *  Thread Starter [jameswantstoknowyou](https://wordpress.org/support/users/jameswantstoknowyou/)
 * (@jameswantstoknowyou)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/receiving-pdfjs-error/#post-4520431)
 * If I deleted the spaces as you’ve suggested & that fixed the issue, do i Need
   to reinstall the plugin?
 * James
    [http://JamesWantsToKnowYou.com](http://JamesWantsToKnowYou.com)
 *  Plugin Author [Ben Lawson](https://wordpress.org/support/users/falconerweb/)
 * (@falconerweb)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/receiving-pdfjs-error/#post-4520432)
 * Nope!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Receiving PDFjs Error’ is closed to new replies.

 * ![](https://ps.w.org/pdfjs-viewer-shortcode/assets/icon-256x256.png?rev=2301161)
 * [PDF.js Viewer](https://wordpress.org/plugins/pdfjs-viewer-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Ben Lawson](https://wordpress.org/support/users/falconerweb/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/receiving-pdfjs-error/#post-4520432)
 * Status: resolved