Title: continue 2 error
Last modified: May 22, 2021

---

# continue 2 error

 *  Resolved [symphyl](https://wordpress.org/support/users/symphyl/)
 * (@symphyl)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/continue-2-error/)
 * Hi. I install the free version of the plugin and get this error when previewing
   or creating a PDF.
 * Error Message “continue” targeting switch is equivalent to “break”. Did you mean
   to use “continue 2”?
    Error Number 2 Error File /chroot/home/a2041fc1/63d1309b10.
   nxcli.net/html/wp-content/plugins/woo-pdf-invoice-builder/vendor/dompdf/dompdf/
   src/Dompdf.php Error Line 625 Error Context {“file”:”/chroot/home/a2041fc1/63d1309b10.
   nxcli.net/html/wp-content/plugins/woo-pdf-invoice-builder/vendor/composer/../
   dompdf/dompdf/src/Dompdf.php”} Error Detail file:/chroot/home/a2041fc1/63d1309b10.
   nxcli.net/html/wp-content/mu-plugins/nexcess-mapps/vendor/composer/ClassLoader.
   php line:478 function:CatchShutdownHandler class:RednaoWooCommercePDFInvoiceAjax
   object:[object Object] type:-> args:2,”continue” targeting switch is equivalent
   to “break”. Did you mean to use “continue 2”?,/chroot/home/a2041fc1/63d1309b10.
   nxcli.net/html/wp-content/plugins/woo-pdf-invoice-builder/vendor/dompdf/dompdf/
   src/Dompdf.php,625,[object Object]
 * file:/chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-content/mu-plugins/nexcess-
   mapps/vendor/composer/ClassLoader.php
    line:478 function:include
 * file:/chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-content/mu-plugins/nexcess-
   mapps/vendor/composer/ClassLoader.php
    line:346 function:Composer\Autoload\includeFile
   args:/chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-content/plugins/woo-pdf-
   invoice-builder/vendor/composer/../dompdf/dompdf/src/Dompdf.php
 * function:loadClass
    class:Composer\Autoload\ClassLoader object:[object Object]
   type:-> args:Dompdf\Dompdf
 * file:/chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-content/plugins/woo-pdf-
   invoice-builder/PDFGenerator.php
    line:273 function:spl_autoload_call args:Dompdf\
   Dompdf
 * file:/chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-content/plugins/woo-pdf-
   invoice-builder/PDFGenerator.php
    line:266 function:Generate class:RednaoPDFGenerator
   object:[object Object] type:-> args:false
 * file:/chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-content/plugins/woo-pdf-
   invoice-builder/woocommerce-pdf-invoice-ajax.php
    line:602 function:GeneratePreview
   class:RednaoPDFGenerator object:[object Object] type:-> args:
 * file:/chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-includes/class-wp-hook.
   php
    line:292 function:DiagnoseError class:RednaoWooCommercePDFInvoiceAjax object:[
   object Object] type:-> args:
 * file:/chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-includes/class-wp-hook.
   php
    line:316 function:apply_filters class:WP_Hook object:[object Object] type:-
   > args:,
 * file:/chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-includes/plugin.php
    
   line:484 function:do_action class:WP_Hook object:[object Object] type:-> args:
 * file:/chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-admin/admin-ajax.php
   
   line:187 function:do_action args:wp_ajax_rednao_wcpdfinv_diagnose_error

Viewing 1 replies (of 1 total)

 *  Plugin Author [EDGARROJAS](https://wordpress.org/support/users/edgarrojas/)
 * (@edgarrojas)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/continue-2-error/#post-14475783)
 * Hello!
 * This should be fixed in the next release.
 * Regards!

Viewing 1 replies (of 1 total)

The topic ‘continue 2 error’ is closed to new replies.

 * ![](https://ps.w.org/woo-pdf-invoice-builder/assets/icon-256x256.gif?rev=3275092)
 * [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/)

 * 1 reply
 * 2 participants
 * Last reply from: [EDGARROJAS](https://wordpress.org/support/users/edgarrojas/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/continue-2-error/#post-14475783)
 * Status: resolved