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

The method '{method}' does not exist on model '{modelName}'

Error message

The method '{method}' does not exist on model '{modelName}'

What it means

Error "The method '{method}' does not exist on model '{modelName}'" thrown in phalcon/cphalcon.

Source

Thrown at phalcon/Mvc/Model.zep:357

        if records !== false {
            return records;
        }

        /**
         * Try to find a replacement for the missing method in a
         * behavior/listener
         */
        let status = (<ManagerInterface> this->modelsManager)->missingMethod(this, method, arguments);

        if status !== null {
            return status;
        }

        /**
         * The method does not exist throw an exception
         */
        throw new MethodNotFound(method, modelName);
    }

    /**
     * Handles method calls when a static method is not implemented
     *
     * @return mixed
     * @throws \Phalcon\Mvc\Model\Exception If the method does not exist
     */
    public static function __callStatic(string method, array arguments)
    {
        var modelName, records;

        let records = self::invokeFinder(method, arguments);

        if records !== false {
            return records;
        }

View on GitHub (pinned to b7419de9cd)

When it happens

Trigger: Thrown at phalcon/Mvc/Model.zep:357 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/a9e3ffa987ac90d8. Report an issue: GitHub.