Deprecated strtolower() Warnings in Lines 185 and 230 of DBTable.php
-
Dear [Plugin Developer Team/Support Person],
I hope this message finds you well. I am encountering deprecation warnings related to the
strtolower()
function in your Woo Discount Rules plugin. Specifically, the issues occur in theDBTable.php
file:- File:
wp-content/plugins/woo-discount-rules/v2/App/Models/DBTable.php
- Lines: 185 and 230
The warnings are as follows:
PHP Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated
These warnings are related to PHP 8.0 and later versions, where
strtolower()
does not acceptnull
values.Could you please update the code to handle these null values appropriately, ensuring compatibility with the latest PHP versions?
Thank you for your assistance.
Best regards,
- File:
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.