• Resolved c91moreira

    (@c91moreira)


    Hello,

    great, great plugin. It works very well.
    I can print and convert to doc any product but there is an issue I’m having.
    When I try to save the file to PDF, and error shows up saying:
    FPDF error: Some data has already been output, can’t send PDF file

    I could solve this by adding this line:
    ob_clean();

    In the fpdf file just after the line:
    function Output($name=”, $dest=”){

    Maybe there is a better way to solve this, and add it to your plugin in a future version.

    Thanks once again for this great plugin.

    https://www.ads-software.com/plugins/woocommerce-pdf-print/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor gVectors Team

    (@gvectors-team)

    Hi c91moreira,
    This is not WooCommerce PDF & Print issue. It seems you have installed some plugin which generates some PHP errors or it has a line brakes after PHP closing tag like this:

    ?>
    
    .

    The most of cases this causes current active theme’s functions.php or some initiator plugins php files.

    Thread Starter c91moreira

    (@c91moreira)

    Ok.
    Thanks very much ??
    Will check that later ??

    Plugin Author Tomdever

    (@tomdever)

    Hi c91moreira,
    I added the ob_clean(); in WooPP 1.1.1 version, you can update it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘FPDF error: Some data has already been output, can't send PDF file’ is closed to new replies.