我们在REST api v4上遇到错误。它阻止我们从糖数据库获取数据。我们正在使用SugarCRM版本7.6.2.1(Build 9)
Strict Standards: Declaration of SugarWebServiceImplv3_1::get_entry_list() should be compatible with SugarWebServiceImpl::get_entry_list($session, $module_name, $query, $order_by, $offset, $select_fields, $link_name_to_fields_array, $max_results, $deleted = 0) in /home/testsugarcrm/app/www/service/v3_1/SugarWebServiceImplv3_1.php on line 20
Strict Standards: Declaration of SugarWebServiceUtilv4::get_data_list() should be compatible with SugarWebServiceUtilv3_1::get_data_list($seed, $order_by = '', $where = '', $row_offset = 0, $limit = -1, $max = -1, $show_deleted = 0, $favorites = false, $singleSelect = false) in /home/testsugarcrm/app/www/service/v4/SugarWebServiceUtilv4.php on line 638
Strict Standards: Declaration of SugarWebServiceImplv4::get_entries() should be compatible with SugarWebServiceImplv3_1::get_entries($session, $module_name, $ids, $select_fields, $link_name_to_fields_array, $track_view = false) in /home/testsugarcrm/app/www/service/v4/SugarWebServiceImplv4.php on line 21
有谁知道如何修复此错误?
答案 0 :(得分:0)
这些是严格标准,需要在服务器/ PHP端禁用。
找到你的php.ini文件(根文件夹)并更改名为error_reporting的属性:
从:
error_reporting = E_ALL | E_STRICT
为:
error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED