delphinium
delphinium

I am using the edge version of October, in the latest update we can make custom list types, I haven't changed anything in my code, but now I get this error "List column type "number" could not be found."

It shouldn't break an existing list type like number, right?

When I comment out this code it works fine again.

protected function evalCustomListType($type, $record, $column, $value) { /* $plugins = PluginManager::instance()->getRegistrationMethodValues('registerListColumnTypes');

    foreach ($plugins as $availableTypes) {
        if (!isset($availableTypes[$type])) {
            continue;
        }

        $callback = $availableTypes[$type];

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

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

Fixed in the latest build! Thanks!

groar
groar

No, it's not fixed in Build 376.

1-4 of 4