Title: Error when creating a PDF
Last modified: September 17, 2018

---

# Error when creating a PDF

 *  Resolved [whitetornado_nl](https://wordpress.org/support/users/whitetornado_nl/)
 * (@whitetornado_nl)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/error-when-creating-a-pdf/)
 * when create a invoice (have some custom fields) this error appears:
 * Fatal error: Uncaught Error: Call to a member function GetHtml() on null in /
   home/xxxxxxxxxxxxxxxxxx/wp-content/plugins/woo-pdf-invoice-builder-pro-1/pr/fields/
   PDFCustomField.php(36) : eval()’d code:1 Stack trace: #0 /home/xxxxxxxxxxxxxx/
   wp-content/plugins/woo-pdf-invoice-builder-pro-1/pr/fields/PDFCustomField.php(
   36): eval() #1 /homexxxxxxxxxxx/wp-content/plugins/woo-pdf-invoice-builder-pro-
   1/htmlgenerator/fields/PDFFieldBase.php(94): rnwcinv\pr\fields\PDFCustomField-
   >InternalGetHTML() #2 /home/xxxxxxxxxxxx/wp-content/plugins/woo-pdf-invoice-builder-
   pro-1/htmlgenerator/AreaGenerator.php(48): rnwcinv\htmlgenerator\fields\PDFFieldBase-
   >GetHTML() #3 /home/xxxxxxxxxx/wp-content/plugins/woo-pdf-invoice-builder-pro-
   1/htmlgenerator/PageGenerator.php(54): rnwcinv\htmlgenerator\AreaGenerator->Generate()#
   4 /home/goudvanoud.nl/public_html in /xxxxxxxxxxxx/wp-content/plugins/woo-pdf-
   invoice-builder-pro-1/pr/fields/PDFCustomField.php(36) : eval()’d code on line
   1

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

 *  Thread Starter [whitetornado_nl](https://wordpress.org/support/users/whitetornado_nl/)
 * (@whitetornado_nl)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/error-when-creating-a-pdf/#post-10699571)
 * its because our custom fields if there is no solution how can i get a refund?
 *  Thread Starter [whitetornado_nl](https://wordpress.org/support/users/whitetornado_nl/)
 * (@whitetornado_nl)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/error-when-creating-a-pdf/#post-10702417)
 * fixed by developer. Great work!!

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

The topic ‘Error when creating a PDF’ is closed to new replies.

 * ![](https://ps.w.org/woo-pdf-invoice-builder/assets/icon-256x256.gif?rev=3517675)
 * [PDF Builder for WooCommerce. Create invoices,packing slips and more](https://wordpress.org/plugins/woo-pdf-invoice-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-pdf-invoice-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-pdf-invoice-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-pdf-invoice-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-pdf-invoice-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-pdf-invoice-builder/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [whitetornado_nl](https://wordpress.org/support/users/whitetornado_nl/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/error-when-creating-a-pdf/#post-10702417)
 * Status: resolved