跨境电商
经验交流分享

Sugar CRM安装报错Strict Standards: Non-static method的解决办法

Magento的好伙伴Sugar CRM一直没有过多接触过,由于业务需求,近期准备了解下Magento与Sugar CRM的集成开发。在安装Sugar CRM社区版本时,遇到了如下问题,一大堆的警告。我试着带着这些PHP警告、报错安装了一遍Sugar CRM。也可以完成安装步骤。但是是什么原因导致的出现这些警告呢?

首先想到了PHP的错误提示级别,最后也证明了确实是由于报错级别的配置问题导致的。打开php.ini配置文件,将默认的错误报告级别由

error_reporting = E_ALL | E_STRICT

修改为

error_reporting = E_ALL & ~E_NOTICE

完成上述操作之后,重启Apache。再次进入Sugar CRM的安装界面时,下面的提示就不会在出现了~~

Strict Standards: Declaration of SugarEmailAddress::save() should be compatible with that of SugarBean::save() in E:\Program Files\EasyPHP-5.3.6.0\www\crm\include\SugarEmailAddress\SugarEmailAddress.php on line 987

Strict Standards: Declaration of Person::retrieve() should be compatible with that of SugarBean::retrieve() in E:\Program Files\EasyPHP-5.3.6.0\www\crm\include\SugarObjects\templates\person\Person.php on line 43

Strict Standards: Declaration of User::retrieve() should be compatible with that of Person::retrieve() in E:\Program Files\EasyPHP-5.3.6.0\www\crm\modules\Users\User.php on line 50

Strict Standards: Declaration of User::create_new_list_query() should be compatible with that of SugarBean::create_new_list_query() in E:\Program Files\EasyPHP-5.3.6.0\www\crm\modules\Users\User.php on line 50

Strict Standards: Declaration of User::list_view_parse_additional_sections() should be compatible with that of SugarBean::list_view_parse_additional_sections() in E:\Program Files\EasyPHP-5.3.6.0\www\crm\modules\Users\User.php on line 50

Strict Standards: Declaration of Currency::retrieve() should be compatible with that of SugarBean::retrieve() in E:\Program Files\EasyPHP-5.3.6.0\www\crm\modules\Currencies\Currency.php on line 236

Strict Standards: Non-static method UploadStream::register() should not be called statically in E:\Program Files\EasyPHP-5.3.6.0\www\crm\include\entryPoint.php on line 173

Strict Standards: Non-static method SugarConfig::getInstance() should not be called statically, assuming $this from incompatible context in E:\Program Files\EasyPHP-5.3.6.0\www\crm\include\SugarLogger\LoggerManager.php on line 73

Strict Standards: Non-static method SugarConfig::getInstance() should not be called statically, assuming $this from incompatible context in E:\Program Files\EasyPHP-5.3.6.0\www\crm\include\SugarLogger\SugarLogger.php on line 115

赞(0)
未经允许不得转载:锐想 » Sugar CRM安装报错Strict Standards: Non-static method的解决办法
分享到: 更多 (0)

相关推荐

  • 暂无文章

评论 抢沙发

评论前必须登录!

 

锐想电商 - 跨境电商经验交流分享

锐想无限