Deprecated Constant FILTER_SANITIZE_STRING
-
Hi, thanks for the great plugin,
I am currently using your SQL Buddy plugin and encountered a deprecation warning related to the
FILTER_SANITIZE_STRING
constant. The error message is as follows:[20-Jun-2024 02:22:01 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /var/www/html/wp-content/plugins/sql-buddy/includes/REST_API/Table_Controller.php on line 220
This issue occurs because
FILTER_SANITIZE_STRING
has been deprecated in PHP 8.1 and later. It would be great if you could update the code to use the recommended alternativeFILTER_SANITIZE_SPECIAL_CHARS
or another suitable replacement to ensure compatibility with newer PHP versions.Thank you for your attention to this matter.
Best regards.
- You must be logged in to reply to this topic.