Deprecated error

Hello,

I don’t why but I received this error on the DISPLAY MODULES AND SUBPANELS page.
Someone know how to fix this problem ?

Thank you,

( ! ) Deprecated: Non-static method SubPanelDefinitions::get_all_subpanels() should not be called statically in D:\wamp64\www\crm\modules\Administration\views\view.configuretabs.php on line 109
Call Stack
#	Time	Memory	Function	Location
1	0.0002	409320	{main}( )	...\index.php:0
2	0.0292	2064264	SugarApplication->execute( )	...\index.php:52
3	0.0381	2351648	AdministrationController->execute( )	...\SugarApplication.php:113
4	0.0384	2361744	AdministrationController->processView( )	...\SugarController.php:375
5	0.1177	2458424	ViewConfiguretabs->process( )	...\SugarController.php:435
6	0.1744	2808936	ViewConfiguretabs->display( )	...\SugarView.php:226

( ! ) Deprecated: Non-static method TabController::get_key_array() should not be called statically in D:\wamp64\www\crm\include\SubPanel\SubPanelDefinitions.php on line 781
Call Stack
#	Time	Memory	Function	Location
1	0.0002	409320	{main}( )	...\index.php:0
2	0.0292	2064264	SugarApplication->execute( )	...\index.php:52
3	0.0381	2351648	AdministrationController->execute( )	...\SugarApplication.php:113
4	0.0384	2361744	AdministrationController->processView( )	...\SugarController.php:375
5	0.1177	2458424	ViewConfiguretabs->process( )	...\SugarController.php:435
6	0.1744	2808936	ViewConfiguretabs->display( )	...\SugarView.php:226
7	0.3437	2861240	SubPanelDefinitions::get_all_subpanels( )	...\view.configuretabs.php:109

( ! ) Deprecated: Non-static method SubPanelDefinitions::get_hidden_subpanels() should not be called statically in D:\wamp64\www\crm\modules\Administration\views\view.configuretabs.php on line 110
Call Stack
#	Time	Memory	Function	Location
1	0.0002	409320	{main}( )	...\index.php:0
2	0.0292	2064264	SugarApplication->execute( )	...\index.php:52
3	0.0381	2351648	AdministrationController->execute( )	...\SugarApplication.php:113
4	0.0384	2361744	AdministrationController->processView( )	...\SugarController.php:375
5	0.1177	2458424	ViewConfiguretabs->process( )	...\SugarController.php:435
6	0.1744	2808936	ViewConfiguretabs->display( )	...\SugarView.php:226

Cordially,

Can you verify if you are running crm on compatible php version? check the Compatibility matrix of your CRM version with PHP

I use the version :

  • PHP 7.3.12
  • Apache 2.4.41
  • Mysql 8.0.18
  • SuiteCrm 7.11.13

You need to turn off display_errors in your php.ini and restart web server.

This will remove the errors form the screen, and you should then look for them in your logs.

The “deprecateds” are safe to ignore (and also the “notice” , “info”, and “debug”…)

OKay, its work normaly :slight_smile:

Thank you !