WordPress.org

Support

Support » Plugins and Hacks » WP Post to PDF » [Resolved] [Plugin: WP Post to PDF] Love this plugin but my site is getting errors

[Resolved] [Plugin: WP Post to PDF] Love this plugin but my site is getting errors

  • Whenever I save a post I get the following error.
    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1050586 bytes) in /home/mshanhun/digitalscrapbookinghq.com/wp-content/plugins/wp-post-to-pdf/wp-post-to-pdf.php on line 255

    Also, my site is now very slow. Would this be to do with the plugin?

    Any suggestions?

    Thanks!

    http://wordpress.org/extend/plugins/wp-post-to-pdf/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Also, my PDF for the page I edited was blank 🙁

    Plugin Author Neerav Dobaria

    @n33rav

    That error is because of script is running out of memory when generating PDF file. You need to ask your host to update allowed memory limit and plugin will work fine.

    Plugin will not slow down your site by any way. PDF is generated when you update/create your post. If you have already created post, in that case it will be created when first attempt to download. Rest of the time, already existed PDF is delivered to user so nothing to worry for speed.

    Regarding blank PDF, that issue has been reported many times but nobody ever wanted to share more details with me. In my test it just run fine. If you are ready to share details with me, I’ll be able to fix it.

    Regards,
    Neerav

    Sure

    I generated the PDF from an existing page
    It worked fine

    Then I went into the post, edited it and saved it.

    Then I got this error
    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 491520 bytes) in /home/mshanhun/digitalscrapbookinghq.com/wp-content/plugins/wp-post-to-pdf/tcpdf/tcpdf.php on line 10225

    However, the PDF was fine this time. Odd

    What is causing the error?

    Ok now I’m getting a blank file for digitalscrapbookinghq.com/store

    Plugin Author Neerav Dobaria

    @n33rav

    I have released new version with fix for blank PDF. Thanks for directing me to page where you have that error.

    For following error,

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 491520 bytes) in /home/mshanhun/digitalscrapbookinghq.com/wp-content/plugins/wp-post-to-pdf/tcpdf/tcpdf.php on line 10225

    You have to increase memory limit of your server. You may have to consult your hosting provider for that.

    Ok I did increase the memory

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 122880 bytes) in /home/mshanhun/digitalscrapbookinghq.com/wp-content/plugins/wp-post-to-pdf/tcpdf/tcpdf.php on line 20748

    Still having issues

    Plugin Author Neerav Dobaria

    @n33rav

    That means its still not sufficient. You have to set it to at least 128M.

    Thanks it’s working now!

    Plugin Author Neerav Dobaria

    @n33rav

    Glad to hear that!!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] [Plugin: WP Post to PDF] Love this plugin but my site is getting errors’ is closed to new replies.
Skip to toolbar