{"record":{"id":"24814f11a8fea91b","repo":"PHPOffice/PhpSpreadsheet","slug":"column-string-index-can-not-be-beyond-xfd-empty","errorCode":null,"errorMessage":"Column string index can not be {beyond XFD|empty}","messagePattern":"Column string index can not be (.+?)","errorType":"exception","errorClass":"PhpOffice\\PhpSpreadsheet\\Exception","httpStatus":null,"severity":"error","filePath":"src/PhpSpreadsheet/Cell/Coordinate.php","lineNumber":448,"sourceCode":"                $indexCache[$columnAddress] = $columnLookup[$columnAddress[0]] * 26\n                    + $columnLookup[$columnAddress[1]];\n\n                return $indexCache[$columnAddress];\n            }\n            if (!isset($columnAddress[3])) {\n                $temp = $columnLookup[$columnAddress[0]] * 676\n                    + $columnLookup[$columnAddress[1]] * 26\n                    + $columnLookup[$columnAddress[2]];\n\n                if ($temp <= AddressRange::MAX_COLUMN_INT) {\n                    $indexCache[$columnAddress] = $temp;\n\n                    return $temp;\n                }\n            }\n        }\n\n        throw new Exception(\n            'Column string index can not be ' . ((isset($columnAddress[0])) ? ('beyond ' . AddressRange::MAX_COLUMN) : 'empty')\n        );\n    }\n\n    private const LOOKUP_CACHE = ' ABCDEFGHIJKLMNOPQRSTUVWXYZ';\n\n    /**\n     * String from column index.\n     *\n     * @param int|numeric-string $columnIndex Column index (A = 1)\n     */\n    public static function stringFromColumnIndex(int|string $columnIndex, bool $tolerateZero = false): string\n    {\n        /** @var string[] */\n        static $indexCache = [];\n        $columnIndex2 = (int) $columnIndex;\n        if ($columnIndex2 === 0 && $tolerateZero) {\n            return '';","sourceCodeStart":430,"sourceCodeEnd":466,"githubUrl":"https://github.com/PHPOffice/PhpSpreadsheet/blob/65b080eef4d9fd11a5796135ab145883e5c3d6a6/src/PhpSpreadsheet/Cell/Coordinate.php#L430-L466","documentation":"Error \"Column string index can not be {beyond XFD|empty}\" thrown in PHPOffice/PhpSpreadsheet.","triggerScenarios":"Thrown at src/PhpSpreadsheet/Cell/Coordinate.php:448 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"65b080eef4d9fd11a5796135ab145883e5c3d6a6","analyzedAt":"2026-08-17T05:40:41.646Z","schemaVersion":2},"datasetVersion":"2026-08-17T09:17:11.063Z"}