Warning Message Reported: Deprecated: Non-static method #8884
Labels
Area: Environment
Issues & PRs related to the application environment
Type: Bug
Bugs within the core SuiteCRM codebase
Type:Invalid
Issues & PRs that are deemed as not required, unrelated or incorrect
Issue
When using the application, in "Create Role" a warning message occurs:
( ! ) Deprecated: Non-static method ACLRole::getRoleActions() should not be called statically in C:\wamp64\www\SCR\modules\ACLRoles\EditView.php on line 80
I gather the program is using features no longer supported by PHP.
Expected Behavior
The message clearly should not be happening.
Actual Behavior
No such message.
Possible Fix
Steps to Reproduce
Context
Trying to create a role
Not sure how significant this is but it detracts from the reputation of the program; someone using it would rightfully think: if it has an obvious error - even if it is trivial, or won't affect performance or functionality - what hidden errors does it have?
Your Environment
According to WAMPServer, Apache Version: 2.4.46; PHP Version: 7.3.21
Stack trace is as follows:
( ! ) Deprecated: Non-static method ACLRole::getRoleActions() should not be called statically in C:\wamp64\www\SCR\modules\ACLRoles\EditView.php on line 80
1 | 0.0027 | 409352 | {main}( ) | ...\index.php:0
2 | 1.0479 | 2081312 | SugarApplication->execute( ) | ...\index.php:52
3 | 1.1269 | 2360872 | SugarController->execute( ) | ...\SugarApplication.php:113
4 | 1.1300 | 2393816 | SugarController->processView( ) | ...\SugarController.php:375
5 | 1.1696 | 2508192 | ACLRolesViewClassic->process( ) | ...\SugarController.php:435
6 | 1.2076 | 2554728 | ACLRolesViewClassic->display( ) | ...\SugarView.php:226
7 | 1.2223 | 2558024 | ACLRolesViewClassic->includeClassicFile( ) | ...\view.classic.php:37
8 | 1.2226 | 2561024 | include_once( 'C:\wamp64\www\SCR\modules\ACLRoles\EditView.php' ) | ...\SugarView.php:839
Thank you for your attention
Paul Robinson
The text was updated successfully, but these errors were encountered: