Deprecated Function Error in mPDF Addon with PHP 8.2
-
Hello Support Team,
I am encountering an error with the mPDF Addon for PDF Invoices on my WordPress site. After updating to PHP 8.2, I received the following message in the error log:
[14-Oct-2024 13:43:02 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /bitnami/wordpress/wp-content/plugins/mpdf-addon-for-pdf-invoices/vendor/mpdf/mpdf/src/Mpdf.php on line 6560
It seems that the plugin is trying to pass a null value to the
strpos()
function, which is not compatible with PHP 8.2. Could you please provide guidance on how to resolve this issue, or let me know if there is an update available that addresses compatibility with PHP 8.2?Thank you.
- You must be logged in to reply to this topic.