Fix for “File has unbalanced q/Q operators (too many Q’s)”

When using WP-Filebase built-in PDF indexing mechanism, you might find a lot of error messages like “File has unbalanced q/Q operators (too many Q’s)” in your server’s log files, filling up the hard drive and keeping the CPU busy.

This is caused by to a bug in an old version of Ghostscript, occuring only with some PDF documents. Here are three options for a fix:

  • Use our Advanced Indexing extension. It uses a webservice for indexing and does not require Ghostscript to be installed on your server
  • Disable PDF indexing (just set the Ghostscript path to /bin/false), this will stop WP-Filebase from running Ghoscript at all, but PDF indexing is not available anymore
  • Update ghostscript to >= v9.15. Try the package manager of your linux distriution first (such as apt-get upgrade). If this does not help compile Ghostscript from its sources

For more details about the bug see

Versions known to have this bug:

  • GPL Ghostscript 9.10 (2013-08-30)
VN:F [1.9.22_1171]
Rating: 1.0/5 (1 vote cast)
Fix for "File has unbalanced q/Q operators (too many Q’s)", 1.0 out of 5 based on 1 rating

One thought on “Fix for “File has unbalanced q/Q operators (too many Q’s)”

  1. Kr ashwiN says:
    VA:F [1.9.22_1171]
    Rating: -1 (from 1 vote)

    Don’t think so much and follow my words here about this useful online tutorial where you can get idea how to restore windows 10 OS computer system data and information.

Leave a Reply

Your email address will not be published.