crmvtigervtigercrm

vtiger 7.1 installation error Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP


I am facing an issue in vtiger 7.1 installation insted of setup page , it shows error page with this content

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; RecurringType has a deprecated constructor in /home/domainname/domains/domainfolder/public_html/vtigercrm/include/utils/RecurringType.php on line 16


Solution

  • error is generating because of invalid "error_reporting" variable in php.ini

    as you may know , the required value of error_reporting for installing vtigercrm is "E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT"

    so if current value is E_All or something else , In php.ini set "error_reporting" as below

    error_reporting = E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT