• Resolved symphyl

    (@symphyl)


    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)
Viewing 1 replies (of 1 total)

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