PHPOffice/PhpSpreadsheet
Documented errors, page 2 of 3. Back to PHPOffice/PhpSpreadsheet
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Could not create temporary file | exception | error | filesystem, temp-file, environment, disk-full, permissions |
| Row and Column Ids must be positive integer values | exception | error | phpspreadsheet, cell-address, coordinate, argument-validation, off-by-one |
| You tried to remove a sheet by the out of bounds index | exception | error | worksheet, index-out-of-bounds, remove-sheet, phpspreadsheet |
| Sheet code name cannot be empty. | exception | error | phpspreadsheet, worksheet, code-name, empty-string, validation |
| Code page $codePage not implemented on this system. | exception | error | xls, encoding, iconv, environment, legacy |
| Conditional is not a Date Value CF Rule conditional | exception | error | php, phpspreadsheet, conditional-formatting, wizard, date-value, time-period, type-mismatch |
| Requested Print Area does not exist | exception | error | php, phpspreadsheet, page-setup, print-area, index-out-of-bounds |
| ')' token expected. | exception | error | xls, biff8, formula, parser, parentheses, syntax |
| Workbook already contains a worksheet named | exception | error | worksheet, duplicate-name, addsheet, phpspreadsheet |
| Workbook already contains a worksheet named | exception | error | worksheet, duplicate-name, merge-workbooks, phpspreadsheet |
| Cannot load invalid XML | exception | error | xml, spreadsheetml, simplexml, reader, phpspreadsheet |
| Invalid Worksheet for specified Range | exception | error | style, worksheet, cell-reference, range, phpspreadsheet |
| First sheet index must be a positive integer. | exception | error | workbook-view, validation, first-sheet-index, phpspreadsheet |
| #NUM! | exception | error | phpspreadsheet, excel-formula, base-conversion, padding, argument-range |
| Range does not contain any information | exception | error | phpspreadsheet, coordinate, range, argument-validation, empty-input |
| Token with id $id does not exist. | exception | error | phpspreadsheet, php, excel, formula-parser, index-out-of-bounds, off-by-one |
| TrueType Font file not found | exception | error | fonts, file-not-found, column-autosize, phpspreadsheet |
| Unable to get contents of $filename | exception | error | csv, encoding, race-condition, environment |
| Unknown trend type | exception | error | trend-analysis, invalid-enum, validation, phpspreadsheet |
| XOr encryption not supported | exception | error | xls, biff, encryption, legacy-format, unsupported-feature |
| Cell range not known as merged. | exception | error | phpspreadsheet, unmerge-cells, merge, state-mismatch, exact-match |
| $bitmap doesn't contain enough data.\n | exception | error | phpspreadsheet, xls, bitmap, corrupt-file, image |
| Line ending must be \n (Unix) or \r\n (Windows) | exception | error | phpspreadsheet, writer, html, line-endings, configuration |
| Decryption password incorrect | exception | error | xls, encryption, password, rc4, phpspreadsheet |
| Invalid Operation for Text Value CF Rule Wizard | exception | error | php, phpspreadsheet, conditional-formatting, wizard, text-value, magic-methods |
| Unknown range separator | exception | error | xls, biff8, formula, range, whole-column, parser |
| Spreadsheet objects cannot be json encoded | exception | error | json, jsonencode, not-serializable, phpspreadsheet |
| CellStyleXf index is out of bounds. | exception | error | styles, index-out-of-bounds, cellstylexf, phpspreadsheet |
| Incorrect number of arguments in function $function() | exception | error | phpspreadsheet, xls, formula, arguments, writer |
| Sheet not found for named range | exception | error | phpspreadsheet, named-range, defined-name, dangling-reference, worksheet |
| Worksheet no longer exists | exception | error | phpspreadsheet, cell, worksheet, detached-object, lifecycle |
| Conditional is not a Cell Value CF Rule conditional | exception | error | php, phpspreadsheet, conditional-formatting, wizard, cell-value, type-mismatch |
| You must specify a Formula value for a Named Formula | exception | error | named-formula, defined-name, constructor, validation |
| Column references should not be numeric. | exception | error | phpspreadsheet, worksheet, insert-column, column-reference, argument-validation |
| Failed to load content as a DOM Document | exception | error | html, domdocument, libxml, xxe, string-input |
| Invalid character found in sheet code name | exception | error | phpspreadsheet, worksheet, code-name, invalid-characters, validation |
| unable to unpack data | exception | error | xls, encryption, md5, corruption, phpspreadsheet |
| Invalid timezone | exception | error | timezone, configuration, date-time, phpspreadsheet |
| Sheet not found for name | exception | error | phpspreadsheet, worksheet, cross-sheet-reference, sheet-not-found, coordinate |
| Unknown class $class | exception | error | xls, internal, invariant, parser, unreachable |
| Unknown font name "$name". Cannot map to TrueType font file | exception | error | fonts, configuration, column-autosize, phpspreadsheet |
| Unknown sheet name $ext_ref in formula | exception | error | xls, biff8, formula, sheet-name, cross-sheet |
| Merge must be on a valid range of cells. | exception | error | phpspreadsheet, merge-cells, range-format, regex-validation, uppercase |
| Cannot check for data validation when cell is not bound to… | exception | error | phpspreadsheet, cell, data-validation, detached-object, worksheet |
| Cloning a Singleton is not allowed! | exception | error | singleton, clone, language-level |
| Sheet does not exist. | exception | error | worksheet, identity, index-lookup, phpspreadsheet |
| Invalid Operation for Expression CF Rule Wizard | exception | error | php, phpspreadsheet, conditional-formatting, wizard, expression, magic-methods |
| Cannot check for hyperlink when cell is not bound to a… | exception | error | phpspreadsheet, cell, hyperlink, detached-object, worksheet |
| No table range is defined. | exception | error | phpspreadsheet, table, range, unset-property |
| The filename $filename is not recognised as an OLE file | exception | error | file-format, xls, ole, validation, phpspreadsheet |
| Invalid locale code | exception | error | locale, validation, number-format, wizard, phpspreadsheet |
| Invalid method for setting print range. | exception | error | php, phpspreadsheet, page-setup, print-area, invalid-constant |
| Detected loop while iterating blocks | exception | error | ole, file-corruption, infinite-loop-protection, phpspreadsheet |
| Invalid index for setting print range. | exception | error | php, phpspreadsheet, page-setup, print-area, index-out-of-bounds |
| Cell coordinate must not specify a worksheet. | exception | error | php, phpspreadsheet, page-setup, print-area, cell-reference |
| Reaching fourth argument of an IF | exception | error | phpspreadsheet, formula-parser, if-function, branch-pruner, formula-string |
| Registered readers must implement… | exception | error | phpspreadsheet, iofactory, reader, plugin-registration, interface |
| Can't open file $filename | exception | error | file-io, permissions, file-not-found, ole, phpspreadsheet |
| Column is outside of current table range. | exception | error | phpspreadsheet, table, column, out-of-range, bounds-check |
| Maximum 31 characters allowed in sheet code name. | exception | error | phpspreadsheet, worksheet, code-name, length-limit, validation |
| Cell coordinate string can not be a range of cells. | exception | error | phpspreadsheet, cell, coordinate, range-vs-cell, validation |
| Conditional is not a Text Value CF Rule conditional | exception | error | php, phpspreadsheet, conditional-formatting, wizard, text-value, type-mismatch |
| Sheet does not have a parent. | exception | error | phpspreadsheet, worksheet, spreadsheet, detached-object, null-parent |
| Sheet does not exist. | exception | error | worksheet, sheet-not-found, lookup-by-name, phpspreadsheet |
| Parameter pos=$pos is invalid. | exception | error | ole, file-corruption, out-of-bounds, phpspreadsheet |
| CellRange array length must be 2 or 4 | exception | error | phpspreadsheet, validation, cell-range, array-shape, merge |
| Couldn't import $bitmap | exception | error | phpspreadsheet, xls, bitmap, image, file-not-found |
| Reader classes must implement their own… | exception | error | custom-reader, template-method, base-reader |
| Unable to create image from $filename | exception | error | xls, image, gd, gif, drawing, biff8 |
| Conditional is not a Blanks CF Rule conditional | exception | error | php, phpspreadsheet, conditional-formatting, wizard, blanks, type-mismatch |
| Merge can only be removed from a range of cells. | exception | error | phpspreadsheet, unmerge-cells, merge, single-cell, range-required |
| Conditional is not a Duplicates CF Rule conditional | exception | error | php, phpspreadsheet, conditional-formatting, wizard, duplicates, type-mismatch |
| Only Little-Endian encoding is supported. | exception | error | ole, xls, file-corruption, phpspreadsheet |
| Unsupported encryption algorithm | exception | error | xls, encryption, rc4, aes, phpspreadsheet |
| Conditional is not an Errors CF Rule conditional | exception | error | php, phpspreadsheet, conditional-formatting, wizard, errors, type-mismatch |
| Conditional is not an Expression CF Rule conditional | exception | error | php, phpspreadsheet, conditional-formatting, wizard, expression, type-mismatch |
| Directory does not exist: $temporaryDirectory | exception | error | pdf, temp-dir, directory, configuration, mpdf, dompdf |
| File doesn't seem to be an OLE container. | exception | error | file-format, ole, xls, validation, phpspreadsheet |
| Cell coordinate can not be zero-length string. | exception | error | phpspreadsheet, worksheet, comment, empty-argument, argument-validation |
| is an Invalid Spreadsheet file. | exception | error | xml, spreadsheetml, format-detection, phpspreadsheet |
| Directory does not exist: $cacheDirectory | exception | error | phpspreadsheet, writer, disk-cache, filesystem, configuration |
| Unknown codepage: $codePage | exception | error | xls, corrupt-file, codepage, file-signature |
| Unsupported PPS type | exception | error | ole, file-corruption, xls, phpspreadsheet |
| Cannot read this Excel file. Version is too old. | exception | error | xls, biff, legacy-format, file-version, unsupported-feature |
| Trend(): Number of elements in coordinate arrays do not… | exception | error | trend-analysis, input-validation, arrays, phpspreadsheet |
| Invalid character found in sheet title | exception | error | phpspreadsheet, worksheet, sheet-title, invalid-characters, validation |
| We should not be expecting a condition | exception | error | phpspreadsheet, formula-parser, if-function, branch-pruner, incomplete-formula |
| Your requested sheet index | exception | error | worksheet, index-out-of-bounds, getsheet, phpspreadsheet |
| Defined Named is a formula, not a range or cell. | exception | error | phpspreadsheet, worksheet, named-range, defined-name, formula |
| Sheet does not have a chart named $chartName. | exception | error | phpspreadsheet, worksheet, chart, not-found, lookup |
| Invalid visibility value. | exception | error | workbook-view, validation, visibility, enum, phpspreadsheet |
| Could not open file $filename for reading. | exception | error | csv, stream-wrapper, allow-url-fopen, php-ini |
| Item is not a drawing | exception | error | phpspreadsheet, drawing, datatype, type-mismatch, in-cell-drawing |
| Tab ratio must be between 0 and 1000. | exception | error | workbook-view, validation, tab-ratio, range, phpspreadsheet |
| Not a cell range address | exception | error | xls, biff8, cell-range, phpspreadsheet |
| Rows can only be inserted before at least row 1. | exception | error | phpspreadsheet, worksheet, insert-row, row-index, argument-validation |
| Cannot get hyperlink for cell that is not bound to a… | exception | error | phpspreadsheet, cell, hyperlink, detached-object, worksheet |
| Cell coordinate string can not be a range of cells | exception | error | phpspreadsheet, coordinate, range, absolute-reference, argument-validation |
| Expecting 8 byte string | exception | error | ole, metadata, file-corruption, phpspreadsheet |
| Reader classes must implement their own listWorksheetInfo()… | exception | error | custom-reader, worksheet-info, base-reader |