phalcon/cphalcon · error · Phalcon\Logger\Exceptions\AdapterNotFound

Adapter does not exist for this logger: {name}

Error message

Adapter does not exist for this logger: {name}

What it means

Error "Adapter does not exist for this logger: {name}" thrown in phalcon/cphalcon.

Source

Thrown at phalcon/Logger/AbstractLogger.zep:214

         */
        for adapter in adapters {
            if (true === isset(registered[adapter])) {
                let this->excluded[adapter] = true;
            }
        }

        return this;
    }

    /**
     * Returns an adapter from the stack
     *
     * @throws AdapterNotFound
     */
    public function getAdapter(string name) -> <AdapterInterface>
    {
        if (true !== isset(this->adapters[name])) {
            throw new AdapterNotFound(name);
        }

        return this->adapters[name];
    }

    /**
     * Returns the adapter stack array
     *
     * @return AdapterInterface[]
     */
    public function getAdapters() -> array
    {
        return this->adapters;
    }

    /**
     * Returns the log level
     */

View on GitHub (pinned to b7419de9cd)

When it happens

Trigger: Thrown at phalcon/Logger/AbstractLogger.zep:214 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/a7515f1fcb6c0704. Report an issue: GitHub.