#3583 - Errors on statically called functions while importing Accounts
Hi,
We are using SecuritySuite 2.7.3 for SugarCRM CE 6.5.20. Since a few days I receive a errors regarding SecuritySuite in sugarcrm.log when importing Accounts.
[FATAL] Caught error: Non-static method SecurityGroup::inherit() should not be called statically, assuming $this from incompatible context [FATAL] Caught error: Non-static method SecurityGroup::assign_default_groups() should not be called statically, assuming $this from incompatible context [FATAL] Caught error: Non-static method SecurityGroup::inherit_assigned() should not be called statically, assuming $this from incompatible context [FATAL] Caught error: Non-static method SecurityGroup::inherit_parent() should not be called statically, assuming $this from incompatible context [FATAL] Caught error: Non-static method SecurityGroup::inherit_creator() should not be called statically, assuming $this from incompatible context
This error occurs for every record I try to import. I've searched already, but couldn't find the solution.
Since it isn't reported where the error occurs, I am not able to track it down. Could someone tell me what to do or what is happening?
Many thanks in advance!
6 years ago
Hello,
It sounds like your PHP version was recently upgraded. There are a couple of ways to solve this. You can either upgrade to the latest SecuritySuite (version 3.1.7) which is available under your orders at https://www.sugaroutfitters.com/orders or alter the php.ini config file and disable Strict Standards. Here is a resource for that option: https://www.inmotionhosting.com/support/website/php/strict-standards-fix
Let me know if you have any questions.
6 years ago
Hi eggsurplus,
Thanks for your reply! We are going to try to upgrade first.
Thanks, Jesper