• Resolved mrkite79

    (@mrkite79)


    I’ve got pro version and after upgrade to WordPress 5.4.0 and woocommerce 4.0.1 I can’t get no more invoices, proforma, etc. (I get a blank page).

    In debug I see several errors

    30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->get_header_logo_id() function is deprecated since version 2.0. Replace with $this->get_header_logo_id().
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->header_logo() function is deprecated since version 2.0. Replace with $this->header_logo().
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->shop_name() function is deprecated since version 2.0. Replace with $this->shop_name().
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->shop_address() function is deprecated since version 2.0. Replace with $this->shop_address().
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->get_header_logo_id() function is deprecated since version 2.0. Replace with $this->get_header_logo_id().
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->billing_address() function is deprecated since version 2.0. Replace with $this->billing_address().
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->billing_email() function is deprecated since version 2.0. Replace with $this->billing_email().
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->ships_to_different_address() function is deprecated since version 2.0. Replace with $this->ships_to_different_address().
    [30-Apr-2020 00:15:59 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_generate_wpo_wcpdf’), WP_Hook->do_action, WP_Hook->apply_filters, WPO\WC\PDF_Invoices\Main->generate_pdf_ajax, WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_html, WPO\WC\PDF_Invoices\Documents\Order_Document->render_template, include(‘/plugins/woocommerce-pdf-ips-pro/templates/Simple/proforma.php’), WooCommerce_PDF_IPS_Pro->number, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [30-Apr-2020 00:15:59 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_generate_wpo_wcpdf’), WP_Hook->do_action, WP_Hook->apply_filters, WPO\WC\PDF_Invoices\Main->generate_pdf_ajax, WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_html, WPO\WC\PDF_Invoices\Documents\Order_Document->render_template, include(‘/plugins/woocommerce-pdf-ips-pro/templates/Simple/proforma.php’), WooCommerce_PDF_IPS_Pro->number, WooCommerce_PDF_IPS_Pro->get_number, WooCommerce_PDF_IPS_Pro_Functions->get_number, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [30-Apr-2020 00:15:59 UTC] order_date was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_generate_wpo_wcpdf’), WP_Hook->do_action, WP_Hook->apply_filters, WPO\WC\PDF_Invoices\Main->generate_pdf_ajax, WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_html, WPO\WC\PDF_Invoices\Documents\Order_Document->render_template, include(‘/plugins/woocommerce-pdf-ips-pro/templates/Simple/proforma.php’), WooCommerce_PDF_IPS_Pro->number, WooCommerce_PDF_IPS_Pro->get_number, WooCommerce_PDF_IPS_Pro_Functions->get_number, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [30-Apr-2020 00:15:59 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_generate_wpo_wcpdf’), WP_Hook->do_action, WP_Hook->apply_filters, WPO\WC\PDF_Invoices\Main->generate_pdf_ajax, WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_html, WPO\WC\PDF_Invoices\Documents\Order_Document->render_template, include(‘/plugins/woocommerce-pdf-ips-pro/templates/Simple/proforma.php’), WooCommerce_PDF_IPS_Pro->date, WooCommerce_PDF_IPS_Pro->get_date, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->order_number() function is deprecated since version 2.0. Replace with $this->order_number().
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->order_date() function is deprecated since version 2.0. Replace with $this->order_date().
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->payment_method() function is deprecated since version 2.0. Replace with $this->payment_method().
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->get_order_items() function is deprecated since version 2.0. Replace with $this->get_order_items().
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->get_shipping_notes() function is deprecated since version 2.0. Replace with $this->get_shipping_notes().
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->get_woocommerce_totals() function is deprecated since version 2.0. Replace with $this->get_woocommerce_totals().
    [30-Apr-2020 00:15:59 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_generate_wpo_wcpdf’), WP_Hook->do_action, WP_Hook->apply_filters, WPO\WC\PDF_Invoices\Main->generate_pdf_ajax, WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_html, WPO\WC\PDF_Invoices\Documents\Order_Document->render_template, include(‘/plugins/woocommerce-pdf-ips-pro/templates/Simple/proforma.php’), do_action(‘wpo_wcpdf_after_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce_PDF_IPS_Templates_Functions->custom_blocks_data, WooCommerce_PDF_IPS_Templates_Functions->make_replacements, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [30-Apr-2020 00:15:59 UTC] customer_note was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_generate_wpo_wcpdf’), WP_Hook->do_action, WP_Hook->apply_filters, WPO\WC\PDF_Invoices\Main->generate_pdf_ajax, WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_html, WPO\WC\PDF_Invoices\Documents\Order_Document->render_template, include(‘/plugins/woocommerce-pdf-ips-pro/templates/Simple/proforma.php’), do_action(‘wpo_wcpdf_after_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce_PDF_IPS_Templates_Functions->custom_blocks_data, WooCommerce_PDF_IPS_Templates_Functions->make_replacements, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [30-Apr-2020 00:15:59 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_generate_wpo_wcpdf’), WP_Hook->do_action, WP_Hook->apply_filters, WPO\WC\PDF_Invoices\Main->generate_pdf_ajax, WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_html, WPO\WC\PDF_Invoices\Documents\Order_Document->render_template, include(‘/plugins/woocommerce-pdf-ips-pro/templates/Simple/proforma.php’), do_action(‘wpo_wcpdf_after_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce_PDF_IPS_Templates_Functions->custom_blocks_data, WooCommerce_PDF_IPS_Templates_Functions->make_replacements, WooCommerce_PDF_IPS_Templates_Functions->get_order_notes, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [30-Apr-2020 00:15:59 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_generate_wpo_wcpdf’), WP_Hook->do_action, WP_Hook->apply_filters, WPO\WC\PDF_Invoices\Main->generate_pdf_ajax, WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_html, WPO\WC\PDF_Invoices\Documents\Order_Document->render_template, include(‘/plugins/woocommerce-pdf-ips-pro/templates/Simple/proforma.php’), do_action(‘wpo_wcpdf_after_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce_PDF_IPS_Templates_Functions->custom_blocks_data, WooCommerce_PDF_IPS_Templates_Functions->make_replacements, WooCommerce_PDF_IPS_Templates_Functions->get_order_notes, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [30-Apr-2020 00:15:59 UTC] order_date was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_generate_wpo_wcpdf’), WP_Hook->do_action, WP_Hook->apply_filters, WPO\WC\PDF_Invoices\Main->generate_pdf_ajax, WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf, WPO\WC\PDF_Invoices\Documents\Order_Document->get_html, WPO\WC\PDF_Invoices\Documents\Order_Document->render_template, include(‘/plugins/woocommerce-pdf-ips-pro/templates/Simple/proforma.php’), do_action(‘wpo_wcpdf_after_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce_PDF_IPS_Templates_Functions->custom_blocks_data, WooCommerce_PDF_IPS_Templates_Functions->make_replacements, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [30-Apr-2020 00:15:59 UTC] The get_used_coupons function is deprecated since version 3.7. Replace with WC_Abstract_Order::get_coupon_codes.
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->get_order_grand_total() function is deprecated since version 2.0. Replace with $document->get_order_grand_total() – check that the $document parameter is included in your action or filter (wpo_wcpdf_after_order_details)!.
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->get_footer() function is deprecated since version 2.0. Replace with $this->get_footer().
    [30-Apr-2020 00:15:59 UTC] The $wpo_wcpdf->footer() function is deprecated since version 2.0. Replace with $this->footer().

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    This means that your Pro version templates are outdated and need to be updated. www.remarpro.com does not allow us to use these forums for supporting our paid extensions, but if you send an email to [email protected] and include your license key we’ll do our best to help resolve this!

Viewing 1 replies (of 1 total)
  • The topic ‘Pdf invoice and packing slips plugin error after upgrade’ is closed to new replies.