• Hi,

    we have a problem with the plugin after updating to PHP8, it works fine on PHP7. Is it compatible with PHP8? Below i’m sending the error log which gives critical error:

    [Tue Jun 03 10:36:08.206176 2025] [php:error] [pid xxx] [client xxx] PHP Parse error:  syntax error, unexpected token "{", expecting ")" in /home/xxx/domains/xxx.xxx.com.pl/public_html/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/classes/grad.php on line 507, referer: https://xxx.xxx.com.pl/wp-admin/post.php?post=45423&action=edit&wc-hide-notice=update&_wc_notice_nonce=8dbabe560c

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • vlatocha

    (@vlatocha)

    Same here, here is the beginning of the log if needed by the authors:

    Jul 27 20:22:12 192.168.157.50 apache2[1813379]: [u1439] [oasis.onpressidium.com] [00be8e26c4614abd853b769d8237c7fa] [2a01:cb10:3d1:3d00:fd34:2c11:87e2:1e8b] [error] [client 192.168.157.50:36292] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught ValueError: Path cannot be empty in /oasis-www/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-document.php:146\nStack trace:\n#0 /oasis-www/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-document.php(146): file_get_contents('')\n#1 /oasis-www/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php(319): BEWPI_Abstract_Document->generate('F')\n#2 /oasis-www/wp-content/plugins/woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php(591): BEWPI_Abstract_Invoice->generate()\n#3 /oasis-www/wp-includes/class-wp-hook.php(326): BE_WooCommerce_PDF_Invoices->attach_invoice_to_email(Array, 'customer_comple...', Object(Automattic\\WooCommerce\\Admin\\Overrides\\Order))\n#4 /oasis-www/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)\n#5 /oasis-www/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(645): apply_filters('woocommerce_ema...', Array, 'customer_comple...',...'

    Im concerned this plugin may now be unsupported. Their premium URL doesnt resolve.

    Its a shame, cause it was a banger.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem after updating to PHP8’ is closed to new replies.