phalcon/cphalcon · error · Phalcon\Mvc\Model\Exceptions\CorruptColumnType

Column type is corrupt

Error message

Column type is corrupt

What it means

Error "Column type is corrupt" thrown in phalcon/cphalcon.

Source

Thrown at phalcon/Mvc/Model/Resultset/Complex.zep:194

                break;

            case Resultset::HYDRATE_OBJECTS:
            default:
                let activeRow = new stdClass();
                break;
        }

        /**
         * Set records as dirty state PERSISTENT by default
         */
        let dirtyState = 0;

        /**
         * Create every record according to the column types
         */
        for alias, column in this->columnTypes {
            if unlikely typeof column != "array" {
                throw new CorruptColumnType();
            }

            let type = column["type"];

            if type == "object" {
                /**
                 * Object columns are assigned column by column
                 */
                let source = column["column"],
                    attributes = column["attributes"],
                    columnMap = column["columnMap"];

                /**
                 * Assign the values from the _source_attribute notation to its real column name
                 */
                let rowModel = [];

                for attribute in attributes {

View on GitHub (pinned to b7419de9cd)

When it happens

Trigger: Thrown at phalcon/Mvc/Model/Resultset/Complex.zep:194 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of phalcon/cphalcon@b7419de9cd (2026-08-21). Data as JSON: /api/errors/d9f4dd4972443658. Report an issue: GitHub.