octobercms/october · error · ApplicationException

List column type " " could not be found.

Error message

List column type "%s" could not be found. %s

What it means

evalCustomListType exhausted all sources for a list column's display type: no built-in eval*TypeValue method handles it and no plugin registered it via registerListColumnTypes(). The message includes the type name and, for 'relation', an explicit hint that relation columns are unsupported.

Solutions

  1. Correct the column's type value in the list configuration (typo or nonexistent type)
  2. If the type is custom, register it from a plugin via the registerListColumnTypes() registration method returning ['mytype' => callable]
  3. For relation columns, remove type: relation and use the relation: ... configuration key instead
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at modules/backend/widgets/lists/HasValueProcessor.php:48 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of octobercms/october@b608633a7e (2026-08-21). Data as JSON: /api/errors/547ae933360930c0. Report an issue: GitHub.

Appendix: source

Thrown at modules/backend/widgets/lists/HasValueProcessor.php:48

        $methodValues = PluginManager::instance()->getRegistrationMethodValues('registerListColumnTypes');
        foreach ($methodValues as $availableTypes) {
            if (!isset($availableTypes[$type])) {
                continue;
            }

            $callback = $availableTypes[$type];

            if (is_callable($callback)) {
                return call_user_func_array($callback, [$value, $column, $record]);
            }
        }

        $customMessage = '';
        if ($type === 'relation') {
            $customMessage = 'Type: relation is not supported, instead use the relation property to specify a relationship to pull the value from and set the type to the type of the value expected.';
        }

        throw new ApplicationException(sprintf('List column type "%s" could not be found. %s', $type, $customMessage));
    }

    /**
     * evalTextTypeValue as text and escape the value
     * @return string
     */
    protected function evalTextTypeValue($record, $column, $value)
    {
        if (is_array($value) && count($value) === count($value, COUNT_RECURSIVE)) {
            $value = implode(', ', $value);
        }

        if (is_string($column->format) && !empty($column->format)) {
            $value = sprintf($column->format, $value);
        }

        return htmlentities((string) $value, ENT_QUOTES, 'UTF-8', false);
    }

View on GitHub (pinned to b608633a7e)