Deprecated : Creation of dynamic property refin_search_modal::$sc_init is deprecated in /opt/Scriptcase/v9-php82/wwwroot/scriptcase/app/Gestiona/aaa-usuarios/aaa_usuario__refin_modal.php on line 30
Refined Search Modal
Deprecated : Creation of dynamic property refin_search_modal::$sc_init is deprecated in /opt/Scriptcase/v9-php82/wwwroot/scriptcase/app/Gestiona/aaa-usuarios/aaa_usuario__refin_modal.php on line 30
Refined Search Modal
To display this error, is it enough to simply enable fields for refined filtering, run the application, and click the “View all” link? Or are there any other additional details needed to reproduce the error?
Best regards!
Having the same issue with SC 9.13.021 (2) on php 8.2.
The modal frame is actually working but the warnings make it impossible to use for end users.
How to reproduce:
Deprecated : Creation of dynamic property refin_search_modal::$sc_init is deprecated in /opt/Scriptcase/v9-php82/wwwroot/scriptcase/app/APP/ttrack_g_report_budgets_NEW/ttrack_g_report_budgets_NEW_refin_modal.php on line 30
Deprecated : Creation of dynamic property refin_search_modal::$Nm_lang is deprecated in /opt/Scriptcase/v9-php82/wwwroot/scriptcase/app/APP/_lib/lang/it.lang.php on line 2
Deprecated : Creation of dynamic property refin_search_modal::$str_schema_all is deprecated in /opt/Scriptcase/v9-php82/wwwroot/scriptcase/app/APP/ttrack_g_report_budgets_NEW/ttrack_g_report_budgets_NEW_refin_modal.php on line 37
Deprecated : Creation of dynamic property refin_search_modal::$arr_buttons is deprecated in /opt/Scriptcase/v9-php82/wwwroot/scriptcase/app/APP/_lib/buttons/SoftCloudSm_Clone/SoftCloudSm_CloneLTR.php on line 12
i have the same problem…
My solution was “disable modal window” in refinated search
have you found a better solution?
Hi everyone,
We conducted some initial tests based on the scenario described above, and no errors appeared in the modal window that opens.
There is an application named “grid_refined_search_v97” in the “Samples” project that appears to effectively simulate the scenario described above.
Please examine this application and check for any discrepancies between it and your own applications. Kindly provide us with feedback so we can attempt to reproduce the issue and, if confirmed, report it to the responsible team.
We look forward to hearing from you.
Best regards!
It looks like the migration to PHP 8.2 is still a work in progress.
Please note that a “Deprecated” notice is not a fatal error, so it won’t crash the application. However, if you need to catch these notices for debugging, you will need to enable full error reporting in your php.ini file (specifically by ensuring E_DEPRECATED is included in your error_reporting directive).
Regarding this specific warning, PHP 8.2 no longer allows the creation of dynamic properties by default. To resolve this, you have two main options:
#[AllowDynamicProperties] attribute directly above the class definition to explicitly permit dynamic properties.For a deeper dive into how this change impacts your codebase and how to address it, you can check out this comprehensive guide: Upgrading to PHP 8.2 | Migrating PHP 7.4 to 8.2 | Zend