Title: PDF Packing Slip Errors
Last modified: February 3, 2023

---

# PDF Packing Slip Errors

 *  [embmus](https://wordpress.org/support/users/embmus/)
 * (@embmus)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/pdf-packing-slip-errors/)
 * For the last couple months PDF packing slips hasn’t been working. (This is actually
   just one of the bugs introduced a couple updates ago that still hasn’t been fixed.)
 * I’ve been expecting it to be fixed in an update but the updates are very seldom
   and the latest updates hasn’t fixed it. I have a lifetime license.
 * If I click on the PACKING SLIP link on the ORDERS page I get a **FORMAT ERROR:
   NOT A PDF OR CORRUPTED** in the PDF reader.
 * If I click MERGE (PRINT) PACKING SLIPS under ORDERS the page crashes with:
 *     ```wp-block-code
       Notice: Undefined offset: 5 in /home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php on line 17285
   
       Notice: Trying to access array offset on value of type null in /home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php on line 17285
   
       Notice: Undefined offset: 5 in /home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php on line 17299
   
       Notice: Trying to access array offset on value of type null in /home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php on line 17299
   
       Notice: Undefined offset: 5 in /home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php on line 17350
   
       Notice: Trying to access array offset on value of type null in /home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php on line 17350
   
       Notice: Undefined offset: 5 in /home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php on line 17402
   
       Notice: Trying to access array offset on value of type null in /home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php on line 17402
   
       Notice: Undefined offset: 5 in /home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php on line 18068
   
       Notice: Trying to access array offset on value of type null in /home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php on line 18068
   
       Notice: Undefined offset: 5 in /home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php on line 18358
   
       Notice: Trying to access array offset on value of type null in /home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php on line 18358
   
       Notice: Undefined offset: 5 in /home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php on line 18718
   
       Notice: Trying to access array offset on value of type null in /home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php on line 18718
       TCPDF ERROR: Some data has already been output, can't send PDF file
       ```
   

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

 *  Plugin Contributor [David G](https://wordpress.org/support/users/gravid7/)
 * (@gravid7)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/pdf-packing-slip-errors/#post-16442770)
 * Hi [@embmus](https://wordpress.org/support/users/embmus/)
 * Thanks for reaching out to us.
 * If possible can you please share the configuration screenshot of the module and
   a screenshot of the issue? We will surely check and help you.
 *  Thread Starter [embmus](https://wordpress.org/support/users/embmus/)
 * (@embmus)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/pdf-packing-slip-errors/#post-16444445)
 * The screenshots are here: [https://imgur.com/a/qeXGhXl](https://imgur.com/a/qeXGhXl)
 * When I open a PDF file with a text-editor the beginning of the PDF file looks
   like this:
 *     ```wp-block-code
       <br />
       <b>Notice</b>:  Undefined offset: 5 in <b>/home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php</b> on line <b>17285</b><br />
       <br />
       <b>Notice</b>:  Trying to access array offset on value of type null in <b>/home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php</b> on line <b>17285</b><br />
       <br />
       <b>Notice</b>:  Undefined offset: 5 in <b>/home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php</b> on line <b>17299</b><br />
       <br />
       <b>Notice</b>:  Trying to access array offset on value of type null in <b>/home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php</b> on line <b>17299</b><br />
       <br />
       <b>Notice</b>:  Undefined offset: 5 in <b>/home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php</b> on line <b>17350</b><br />
       <br />
       <b>Notice</b>:  Trying to access array offset on value of type null in <b>/home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php</b> on line <b>17350</b><br />
       <br />
       <b>Notice</b>:  Undefined offset: 5 in <b>/home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php</b> on line <b>17402</b><br />
       <br />
       <b>Notice</b>:  Trying to access array offset on value of type null in <b>/home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php</b> on line <b>17402</b><br />
       <br />
       <b>Notice</b>:  Undefined offset: 5 in <b>/home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php</b> on line <b>18068</b><br />
       <br />
       <b>Notice</b>:  Trying to access array offset on value of type null in <b>/home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php</b> on line <b>18068</b><br />
       <br />
       <b>Notice</b>:  Undefined offset: 5 in <b>/home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php</b> on line <b>18358</b><br />
       <br />
       <b>Notice</b>:  Trying to access array offset on value of type null in <b>/home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php</b> on line <b>18358</b><br />
       <br />
       <b>Notice</b>:  Undefined offset: 5 in <b>/home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php</b> on line <b>18718</b><br />
       <br />
       <b>Notice</b>:  Trying to access array offset on value of type null in <b>/home/blah.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/lib/tcpdf/tcpdf.php</b> on line <b>18718</b><br />
       %PDF-1.7
       %âãÏÓ
       8 0 obj
       << /Type /Page /Parent 1 0 R /LastModified (D:20230206134006+00'00') /Resources 2 0 R /MediaBox [0.000000 0.000000 612.000000 792.000000] /CropBox [0.000000 0.000000 612.000000 792.000000] /BleedBox [0.000000 0.000000 612.000000 792.000000] /TrimBox [0.000000 0.000000 612.000000 792.000000] /ArtBox [0.000000 0.000000 612.000000 792.000000] /Contents 9 0 R /Rotate 0 /Group << /Type /Group /S /Transparency /CS /DeviceRGB >> /Annots [ 7 0 R ] /PZ 1 >>
       endobj
       9 0 obj
       <</Filter /FlateDecode /Length 1431>> stream
       ```
   
 * So the HTML code being puked from the error is ending up in the PDF file causing
   it to be corrupted.
 * If I use DOWNLOAD (ZIP) PACKING SLIP then remove the PDF from the zip file then
   I can open it. This isn’t very useful because I have to do them one at a time
   instead of MERGE (PRINT) PACKING SLIP which puts all of the days orders into 
   one PDF for printing.
 *  Plugin Contributor [David G](https://wordpress.org/support/users/gravid7/)
 * (@gravid7)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/pdf-packing-slip-errors/#post-16476294)
 * Hello [@embmus](https://wordpress.org/support/users/embmus/) ,
 * Apologies for the inconvenience.
 * Can you please give some details about the issue and module configuration so 
   I can replicate and check which module/option causes the issue here?
 * Please share below details. It will help me to recreate and fix the issue.
 * PHP version
   WooCommerce versionWordPress versionBooster Package Name/Version
 *  Thread Starter [embmus](https://wordpress.org/support/users/embmus/)
 * (@embmus)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/pdf-packing-slip-errors/#post-16477012)
 * PHP: 7.4.33
 * Woo: 7.3.0
 * WP: 6.1.1
 * Booster: 6.0.2 (lifetime license)
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [3 years, 3 months ago](https://wordpress.org/support/topic/pdf-packing-slip-errors/#post-16477186)
 * > Booster: 6.0.2 (lifetime license)
 * The developer can’t help you here and could get into real trouble supporting 
   _customers_ on these community forums. That’s not allowed for anyone.
 * [https://booster.io/forums/forum/booster-plus-forum/](https://booster.io/forums/forum/booster-plus-forum/)
 * For pro or commercial product support please contact the developer directly on
   their site. This includes any pre-sales topics as well.
 * As the developer is aware, commercial products are [not supported in these forums](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).
   I am sure they will have no problem supporting you there.
 *  Thread Starter [embmus](https://wordpress.org/support/users/embmus/)
 * (@embmus)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/pdf-packing-slip-errors/#post-16477221)
 * So, what you’re saying is that despite having purchased a lifetime license I’m
   required to pay you to fix a bug YOU introduced? Is that right?
 * No. You will fix this here.
 * I don’t care about your excuses (which are flat-out wrong.)

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

The topic ‘PDF Packing Slip Errors’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-jetpack/assets/icon-256x256.png?rev=3351194)
 * [Booster for WooCommerce – PDF Invoices, Abandoned Cart, Variation Swatches & 100+ Tools](https://wordpress.org/plugins/woocommerce-jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-jetpack/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [embmus](https://wordpress.org/support/users/embmus/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/pdf-packing-slip-errors/#post-16477221)
 * Status: not resolved