WordPress.org

Forums

WP Post to PDF Enhanced
[resolved] PDF has no content (6 posts)

  1. DemetersRest
    Member
    Posted 1 year ago #

    I have just installed the plug-in but the pdf produced is 0 bytes. It downloads ok, but when I try to open it I get the following error message

    The file “post.pdf” could not be opened because it is empty.

    Thanks in advance for your assistance.

    Cheers, Tracy

    https://wordpress.org/plugins/wp-post-to-pdf-enhanced/

  2. Lewis Rosenthal
    Member
    Plugin Author

    Posted 1 year ago #

    Hi...

    Please post a complete list of additional plugins. My guess is that something like Next Gen Gallery is running, and this is a known conflict (the authors are aware of that and are working on a fix).

    99.9% of the time when you get blank output, something is keeping us from seeing the url or the content, and there's not much that we can do without narrowing down which plugin is causing the issue.

    Cheers, and good luck!

    Lewis

  3. DemetersRest
    Member
    Posted 1 year ago #

    Hi There,

    Thanks for such a quick response. I do have NextGen running so that's no doubt the cause. I'll look for an alternative for the time being. Thanks again.

  4. Lewis Rosenthal
    Member
    Plugin Author

    Posted 1 year ago #

    You bet.

    I'm still hopeful that they will address the issue. The response I received from Photocrati on March 24 was:

    I am able to re-create this issue and will be passing this along to our developers to review as soon as they can.

    I did have a quick look at your code, but nothing jumped right out saying where the issue is being created so this will need to wait for our developers to do a more in-depth comparison.

    At this point, I'm still waiting for a follow-up. I'll mark this topic resolved for the time being, as the resolution is "known issue." Look for an update to either plugin for a real fix.

    Cheers

    Lewis

  5. DemetersRest
    Member
    Posted 1 year ago #

    Thanks for the update Lewis. I'll keep an eye out for an update.

    Have a great Easter.

    Cheers, Tracy.

  6. Lewis Rosenthal
    Member
    Plugin Author

    Posted 10 months ago #

    Hi, Tracy...

    Good news:

    The workaround for those using the NextGen Gallery plugin is to add the following to the theme's functions.php:

    add_filter( 'run_ngg_resource_manager', '__return_false' );

    which effectively keeps NextGen Gallery from intercepting the download of the generated PDF.

    Please give that a try when you have a moment (assuming you'd still like to use WP Post to PDF Enhanced), and let me know how it goes.

    Cheers

    Lewis

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Post to PDF Enhanced
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.