Hi, I think I've found a bug that causes critic error. To reproduce it:
create a new collection.
set Orderable to true.
try to reorder, create or any entry transaction on created collection.
Call to undefined method Statamic\Structures\CollectionTree::toModel() at vendor/statamic/eloquent-driver/src/Structures/CollectionTreeRepository.php:25
Hi, I think I've found a bug that causes critic error. To reproduce it:
my eloquent driver config:
rest of drivers are eloquent.
my dependency & environment setup
the temporary solution
I've changed my collection_trees driver to file.