-2

I installed xampp v3.3.0 and vtigercrm 7.4.0 on Win10 When I try to start vtigercrm localhost/vtigercrm the browser show this error message:

Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\vtigercrm\include\database\PearDatabase.php on line 551.

The rows from 549

function sql_quote($data) {
    if (is_array($data)) {
        switch($data{'type'}) {
            case 'text':
            case 'numeric':
            case 'integer':
            case 'oid':
                return $this->quote($data{'value'});
                break;
            case 'timestamp':
                return $this->formatDate($data{'value'});
                break;
            default:
                throw new Exception("unhandled type: ".serialize($cur));
        }
    } else
        return $this->quote($data);
}

I am do not know what is the problem. Can somebody help to me? thanks

M. Eriksson
  • 12,711
  • 4
  • 26
  • 38
vgabor
  • 1
  • Sounds like the version of the application you're using doesn't support your current PHP version (you need to either upgrade the application (preferred) or downgrade PHP). Check their requirements/documentation/forum/github issues etc – M. Eriksson Jun 02 '22 at 18:56

0 Answers0