I checked in the system request information that the SuiteCRM works with php version 5.5 to 7.0
in some cases out-of-date class errors are appearing in both version 5.6 and 7.0. How do I solve it?
Path: Administrator/Modules and Subpanels: - Version Suite CRM: 7.10.7
Deprecated: Non-static method SubPanelDefinitions::get_all_subpanels() should not be called statically, assuming $this from incompatible context in /home2/divtec/crm.mydomain.com.br/modules/Administration/views/view.configuretabs.php on line 114
Deprecated: Non-static method TabController::get_key_array() should not be called statically, assuming $this from incompatible context in /home2/divtec/crm.mydomain.com.br/include/SubPanel/SubPanelDefinitions.php on line 839
Deprecated: Non-static method SubPanelDefinitions::get_hidden_subpanels() should not be called statically, assuming $this from incompatible context in /home2/divtec/crm.mydomain.com.br/modules/Administration/views/view.configuretabs.php on line 115
Definitely use 7.x, it’s much faster and more secure. You can use 7.2, it works well.
Those deprecated messages aren’t problematic, they are simply things that the developer team needs to think about when it deprecates the older PHP versions somewhere in the future.
Your messages shouldn’t be going onto the screen. You need to disable the “display_errors” setting in your php.ini, that’s the best practice.
Then you can track your errors in the logs, which is where it should be. But worry only about FATALs or ERRORs, not the rest, unless you have some broken behavior inside the app.
[quote=“pgr” post=71256]Definitely use 7.x, it’s much faster and more secure. You can use 7.2, it works well.
Those deprecated messages aren’t problematic, they are simply things that the developer team needs to think about when it deprecates the older PHP versions somewhere in the future.
Your messages shouldn’t be going onto the screen. You need to disable the “display_errors” setting in your php.ini, that’s the best practice.
Then you can track your errors in the logs, which is where it should be. But worry only about FATALs or ERRORs, not the rest, unless you have some broken behavior inside the app.[/quote