get-tree error timeout or json.encode error in backend (dev mode only)

PHOTO EMBED

Wed Mar 23 2022 14:52:26 GMT+0000 (Coordinated Universal Time)

Saved by @swina #php

//vendor/pimcore/pimcore/bundles/AdminBundle/Controller/Admin/DataObject/ClassController.php
//comment around lines 117 after $hasBrickField = false;

// foreach ($class->getFieldDefinitions() as $fieldDefinition) {
//     if ($fieldDefinition instanceof DataObject\ClassDefinition\Data\Objectbricks) {
//         $hasBrickField = true;
//         break;
//     }
//}
content_copyCOPY

Problem found in development mode with docker.