gpt4 book ai didi

php - ubuntu 16.04 上的 vtiger php 错误

转载 作者:行者123 更新时间:2023-12-04 19:08:21 24 4
gpt4 key购买 nike

我在 ubuntu 16.04 上的 php7.0 上的 vtiger 中收到大量警告
我正在考虑通过/etc/php/7.0/apache2/php.ini 禁用警告,但这没有任何区别

error_reporting = E_ALL & ~E_USER_WARNING & ~E_WARNING & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
这里我仍然得到的错误:
Warning: Declaration of Portal_Module_Model::saveRecord($recordId, $bookmarkName, $bookmarkUrl) should be compatible with Vtiger_Module_Model::saveRecord(Vtiger_Record_Model $recordModel) in /var/www/vtigercrm/modules/Portal/models/Module.php on line 0

Warning: Declaration of Portal_Module_Model::deleteRecord($recordId) should be compatible with Vtiger_Module_Model::deleteRecord(Vtiger_Record_Model $recordModel) in /var/www/vtigercrm/modules/Portal/models/Module.php on line 0

Warning: Declaration of EmailTemplates_Module_Model::saveRecord(EmailTemplates_Record_Model $recordModel) should be compatible with Vtiger_Module_Model::saveRecord(Vtiger_Record_Model $recordModel) in /var/www/vtigercrm/modules/EmailTemplates/models/Module.php on line 0

Warning: Declaration of EmailTemplates_Module_Model::deleteRecord(EmailTemplates_Record_Model $recordModel) should be compatible with Vtiger_Module_Model::deleteRecord(Vtiger_Record_Model $recordModel) in /var/www/vtigercrm/modules/EmailTemplates/models/Module.php on line 0
知道如何解决吗?

最佳答案

更改 config.inc.php 文件中的错误报告

ini_set('display_errors','on'); version_compare(PHP_VERSION, '5.5.0') <= 0 ? error_reporting(E_WARNING & ~E_NOTICE & ~E_DEPRECATED) : error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT);   // DEBUGGI

关于php - ubuntu 16.04 上的 vtiger php 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63009408/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com