Hi
I also upgraded to PHP Version 8.2.17 from PHP 8.0.x and I am getting multiple warnings of deprecated functions. My hosting company stopped support for PHP 8.0 and I will incur in premium support costs if I do not upgrade to at least 8.1.x. (warnings also show in 8.1)
Xataface is running on Linux shl-buildd-bs02 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux
I tried in index.php the following directives to hide the warnings but they still show in https://....//index.php?-table=dashboard and other pages in my app.
ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_STRICT );
The errors dissappear if I do display_errors = 0 but I am afraid of missing some more important errors.
I am sharing more details on the functions wiht warning hoping some more experienced collaborators or Steve can have a look at the compatibility issues with 8.2
Thank you
PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /homepages/../.../dataface/Dataface/SkinTool.php on line 361
PHP Deprecated: Creation of dynamic property SQL_Parser::$commands is deprecated in /homepages/.../.../dataface/lib/SQL/Parser.php on line 110
PHP Deprecated: Creation of dynamic property SQL_Parser::$quantifiers is deprecated in /homepages/.../.../dataface/lib/SQL/Parser.php on line 112
PHP Deprecated: ctype_alpha(): Argument of type int will be interpreted as string in the future in /homepages/.../.../dataface/lib/SQL/Lexer.php on line 261
PHP Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in /homepages/.../.../dataface/lib/SQL/Lexer.php on line 273
PHP Deprecated: ctype_alnum(): Argument of type int will be interpreted as string in the future in /homepages/.../.../dataface/lib/SQL/Lexer.php on line 346
PHP Deprecated: Creation of dynamic property SQL_Parser::$all_tables is deprecated in /homepages/.../.../dataface/lib/SQL/Parser.php on line 1826
PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /homepages/.../.../dataface/Dataface/Table.php on line 879
PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /homepages/.../.../dataface/Dataface/Table.php on line 879
PHP Deprecated: Creation of dynamic property PEAR_Error::$callback is deprecated in /homepages/.../.../dataface/PEAR.php on line 886
PHP Deprecated: Creation of dynamic property HTML_QuickForm_Error::$callback is deprecated in /homepages/.../.../dataface/PEAR.php on line 886
And several others, I hope the above might provide background of the issue
Francisco