• Resolved danielkn

    (@danielkn)


    Your plugin caused an error, at first everything seemed fine, but when I tried to create a installment invoice, I got the following error:

    Notice: Constant WP_POST_REVISIONS already defined in /var/customers/webs/Fawedo/easy2/wp-config.php on line 96

    Fatal error: Call to a member function get_items() on bool
    #0 /var/customers/webs/Fawedo/easy2/wp-content/plugins/woocommerce-deposits/includes/compatibility/pdf-invoices/partial_payment_invoice.php(100): WPO\WC\PDF_Invoices\Documents\Order_Document_Methods->get_order_items()
    #1 /var/customers/webs/Fawedo/easy2/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(787): include(‘/var/customers/…’)
    #2 /var/customers/webs/Fawedo/easy2/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(691): WPO\WC\PDF_Invoices\Documents\Order_Document->render_template(‘/var/customers/…’, Array)
    #3 /var/customers/webs/Fawedo/easy2/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(673): WPO\WC\PDF_Invoices\Documents\Order_Document->get_html()
    #4 /var/customers/webs/Fawedo/easy2/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(709): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf()
    #5 /var/customers/webs/Fawedo/easy2/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(340): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf(‘inline’)
    #6 /var/customers/webs/Fawedo/easy2/wp-includes/class-wp-hook.php(287): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax(”)
    #7 /var/customers/webs/Fawedo/easy2/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #8 /var/customers/webs/Fawedo/easy2/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #9 /var/customers/webs/Fawedo/easy2/wp-admin/admin-ajax.php(175): do_action(‘wp_ajax_generat…’)
    #10 {main}
    Produkt Anzahl Preis

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hello @danielkn

    Looking at the error here #0 /var/customers/webs/Fawedo/easy2/wp-content/plugins/woocommerce-deposits/includes/compatibility/pdf-invoices we can see that’s related to the plugin woocommerce-deposits, you should contact them to fix the issue.

    Thread Starter danielkn

    (@danielkn)

    The Error “REVISIONS already defined in /var/customers/webs/Fawedo/easy2/wp-config.php on line 96” it is still there if I detective the other Plugin and every time I load Backend I see this Error for a little Time:https://prnt.sc/tacm3r

    If I deactivate your plugin, all is good.

    Plugin Contributor alexmigf

    (@alexmigf)

    Deleted!

    • This reply was modified 4 years, 4 months ago by alexmigf.
    Plugin Contributor Ewout

    (@pomegranate)

    @danielkn have you perhaps activated “debug output” in the Status tab of the PDF invoices plugin? This will show errors from ALL plugins, not just PDF invoices. Your first post shows two distinct errors:

    Notice: Constant WP_POST_REVISIONS already defined

    Which is thrown because constants can only be defined once and WP_POST_REVISIONS is defined more than once

    Fatal error: Call to a member function get_items() on bool

    Which was caused by a bug in WooCommerce Deposits

    Your new screenshot shows various errors:

    Notice: Constant WP_POST_REVISIONS already defined in /var/customers/webs/Fawedo/easy2/wp-config.php on line 96

    Which is the same as above

    Notice: Undefined index: lfb-frontend-libs in /var/customers/webs/Fawedo/easy2/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Loader.php on line 516

    Notice: Trying to get property ‘handle’ of non-object in /var/customers/webs/Fawedo/eesy2/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Loader.php on line 484

    (twice)
    This last one is not related to PDF invoices either, from a quick google search it seems it may be related to WP_Estimation_Form – is this something you use?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin makes an error on Website’ is closed to new replies.