• Resolved platoche56

    (@platoche56)


    Hi,

    I am using PHP 8.1 and WP_debug throws the following warnings.

    Deprecated: Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::setTimezone($timezone) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /bitnami/wordpress/wp-content/plugins/woocommerce-pdf-ips-pro/includes/compatibility/class-wc-date-compatibility.php on line 58

    Deprecated: Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /bitnami/wordpress/wp-content/plugins/woocommerce-pdf-ips-pro/includes/compatibility/class-wc-date-compatibility.php on line 47

    Deprecated: Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /bitnami/wordpress/wp-content/plugins/woocommerce-pdf-ips-pro/includes/compatibility/class-wc-date-compatibility.php on line 68

    BR,

    A

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

    (@alexmigf)

    Hi @platoche56

    Are you using a custom template?

    Thread Starter platoche56

    (@platoche56)

    Hi,

    I built my own child theme for storefront and I am not using any custom template for PDF invoices.

    BR,

    A

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @platoche56,

    Since you’re using the Professional extension, and as www.remarpro.com doesn’t allow us to provide premium support in these forums, please write us at [email protected], and we’ll do our best to found the root cause and fix this issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deprecated functions’ is closed to new replies.