Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowed memory size exhausted #9

Closed
coret opened this issue Aug 4, 2021 · 3 comments
Closed

Allowed memory size exhausted #9

coret opened this issue Aug 4, 2021 · 3 comments

Comments

@coret
Copy link

coret commented Aug 4, 2021

When I try to add or edit a resource template there's an out of memory error. (When I deactivate the NestedDataType module, the add/edit function does not lead to an out of memory error.)

FYI: I have 11 vocabulaires installed, one of which is schema.org (625 classes, 898 properties).

See php error log (stripped of private info):

[04-Aug-2021 12:39:43 UTC] PHP Fatal error:  Allowed memory size of 524288000 bytes exhausted (tried to allocate 4096 bytes) in /home/xxxxx/omeka-s/application/src/Api/Adapter/
AbstractAdapter.php on line 153
[04-Aug-2021 12:39:43 UTC] PHP Stack trace:
[04-Aug-2021 12:39:43 UTC] PHP   1. {main}() /home/xxxxx/omeka-s/index.php:0
[04-Aug-2021 12:39:43 UTC] PHP   2. Laminas\Mvc\Application->run() /home/xxxxx/omeka-s/index.php:21
[04-Aug-2021 12:39:43 UTC] PHP   3. Laminas\Mvc\Application->completeRequest($event = class Laminas\Mvc\MvcEvent { protected $application = class Laminas\Mvc\Application { protected $defaul tListeners = [...]; protected $event = ...; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; prot ected $response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; protected $request = class Laminas\H ttp\PhpEnvironment\Request { protected $baseUrl = '/data'; protected $basePath = '/data'; protected $requestUri = '/data/admin/resource-template/5/edit'; protected $serverParams = class Lam inas\Stdlib\Parameters { ... }; protected $envParams = class Laminas\Stdlib\Parameters { ... }; protected $method = 'GET'; protected $allowCustomMethods = TRUE; protected $uri = class Lamin as\Uri\Http { ... }; protected $queryParams = NULL; protected $postParams = NULL; protected $fileParams = NULL; protected $version = '1.1'; protected $headers = class Laminas\Http\Headers {  ... }; protected $metadata = [...]; protected $content = '' }; protected $response = class Laminas\Http\PhpEnvironment\Response { protected $version = NULL; protected $contentSent = FALSE;  private $headersSentHandler = NULL; protected $recommendedReasonPhrases = [...]; protected $statusCode = 200; protected $reasonPhrase = NULL; protected $headers = NULL; protected $metadata  = [...]; protected $content = '' }; protected $result = class Laminas\View\Model\ViewModel { protected $captureTo = 'content'; protected $children = [...]; protected $options = [...]; prot ected $template = 'omeka/admin/resource-template/edit'; protected $terminate = FALSE; protected $variables = class Laminas\View\Variables { ... }; protected $append = FALSE }; protected $ro uter = class Laminas\Router\Http\TreeRouteStack { protected $baseUrl = '/data'; protected $requestUri = class Laminas\Uri\Http { ... }; protected $prototypes = class ArrayObject { ... }; pr otected $routes = class Laminas\Router\PriorityList { ... }; protected $routePluginManager = class Laminas\Router\RoutePluginManager { ... }; protected $defaultParams = [...] }; protected $ routeMatch = class Laminas\Router\Http\RouteMatch { protected $length = 31; protected $params = [...]; protected $matchedRouteName = 'admin/id' }; protected $viewModel = class Laminas\View\ Model\ViewModel { protected $captureTo = 'content'; protected $children = [...]; protected $options = [...]; protected $template = 'layout/layout-admin'; protected $terminate = FALSE; prote cted $variables = class Laminas\View\Variables { ... }; protected $append = FALSE }; protected $name = 'render'; protected $target = class Laminas\Mvc\Application { protected $defaultListen ers = [...]; protected $event = ...; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; protected $ response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; protected $params = ['application' => class  Laminas\Mvc\Application { ... }, 'request' => class Laminas\Http\PhpEnvironment\Request { ... }, 'response' => class Laminas\Http\PhpEnvironment\Response { ... }, 'router' => class Laminas \Router\Http\TreeRouteStack { ... }, 'route-match' => class Laminas\Router\Http\RouteMatch { ... }, '__RESULT__' => class Laminas\View\Model\ViewModel { ... }]; protected $stopPropagation =  FALSE }) /home/xxxxx/omeka-s/vendor/laminas/laminas-mvc/src/Application.php:347
[04-Aug-2021 12:39:43 UTC] PHP   4. Laminas\EventManager\EventManager->triggerEvent($event = class Laminas\Mvc\MvcEvent { protected $application = class Laminas\Mvc\Application { protected $defaultListeners = [...]; protected $event = ...; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; protected $response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; protected $request = class La minas\Http\PhpEnvironment\Request { protected $baseUrl = '/data'; protected $basePath = '/data'; protected $requestUri = '/data/admin/resource-template/5/edit'; protected $serverParams = cl ass Laminas\Stdlib\Parameters { ... }; protected $envParams = class Laminas\Stdlib\Parameters { ... }; protected $method = 'GET'; protected $allowCustomMethods = TRUE; protected $uri = clas s Laminas\Uri\Http { ... }; protected $queryParams = NULL; protected $postParams = NULL; protected $fileParams = NULL; protected $version = '1.1'; protected $headers = class Laminas\Http\He aders { ... }; protected $metadata = [...]; protected $content = '' }; protected $response = class Laminas\Http\PhpEnvironment\Response { protected $version = NULL; protected $contentSent =  FALSE; private $headersSentHandler = NULL; protected $recommendedReasonPhrases = [...]; protected $statusCode = 200; protected $reasonPhrase = NULL; protected $headers = NULL; protected $m etadata = [...]; protected $content = '' }; protected $result = class Laminas\View\Model\ViewModel { protected $captureTo = 'content'; protected $children = [...]; protected $options = [... ]; protected $template = 'omeka/admin/resource-template/edit'; protected $terminate = FALSE; protected $variables = class Laminas\View\Variables { ... }; protected $append = FALSE }; protec ted $router = class Laminas\Router\Http\TreeRouteStack { protected $baseUrl = '/data'; protected $requestUri = class Laminas\Uri\Http { ... }; protected $prototypes = class ArrayObject { ... }; protected $routes = class Laminas\Router\PriorityList { ... }; protected $routePluginManager = class Laminas\Router\RoutePluginManager { ... }; protected $defaultParams = [...] }; protected $routeMatch = class Laminas\Router\Http\RouteMatch { protected $length = 31; protected $params = [...]; protected $matchedRouteName = 'admin/id' }; protected $viewModel = class Laminas\View\Model\ViewModel { protected $captureTo = 'content'; protected $children = [...]; protected $options = [...]; protected $template = 'layout/layout-admin'; protected $terminate = FALSE; protected $variables = class Laminas\View\Variables { ... }; protected $append = FALSE }; protected $name = 'render'; protected $target = class Laminas\Mvc\Application { protected $defaultListeners = [...]; protected $event = ...; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; protected $response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; protected $params = ['application' => class Laminas\Mvc\Application { ... }, 'request' => class Laminas\Http\PhpEnvironment\Request { ... }, 'response' => class Laminas\Http\PhpEnvironment\Response { ... }, 'router' => class Laminas\Router\Http\TreeRouteStack { ... }, 'route-match' => class Laminas\Router\Http\RouteMatch { ... }, '__RESULT__' => class Laminas\View\Model\ViewModel { ... }]; protected $stopPropagation = FALSE }) /home/xxxxx/omeka-s/vendor/laminas/laminas-mvc/src/Application.php:366
[04-Aug-2021 12:39:43 UTC] PHP   5. Laminas\EventManager\EventManager->triggerListeners($event = class Laminas\Mvc\MvcEvent { protected $application = class Laminas\Mvc\Application { protected $defaultListeners = [...]; protected $event = ...; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; protected $response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; protected $request = class Laminas\Http\PhpEnvironment\Request { protected $baseUrl = '/data'; protected $basePath = '/data'; protected $requestUri = '/data/admin/resource-template/5/edit'; protected $serverParams = class Laminas\Stdlib\Parameters { ... }; protected $envParams = class Laminas\Stdlib\Parameters { ... }; protected $method = 'GET'; protected $allowCustomMethods = TRUE; protected $uri = class Laminas\Uri\Http { ... }; protected $queryParams = NULL; protected $postParams = NULL; protected $fileParams = NULL; protected $version = '1.1'; protected $headers = class Laminas\Http\Headers { ... }; protected $metadata = [...]; protected $content = '' }; protected $response = class Laminas\Http\PhpEnvironment\Response { protected $version = NULL; protected $contentSent = FALSE; private $headersSentHandler = NULL; protected $recommendedReasonPhrases = [...]; protected $statusCode = 200; protected $reasonPhrase = NULL; protected $headers = NULL; protected $metadata = [...]; protected $content = '' }; protected $result = class Laminas\View\Model\ViewModel { protected $captureTo = 'content'; protected $children = [...]; protected $options = [...]; protected $template = 'omeka/admin/resource-template/edit'; protected $terminate = FALSE; protected $variables = class Laminas\View\Variables { ... }; protected $append = FALSE }; protected $router = class Laminas\Router\Http\TreeRouteStack { protected $baseUrl = '/data'; protected $requestUri = class Laminas\Uri\Http { ... }; protected $prototypes = class ArrayObject { ... }; protected $routes = class Laminas\Router\PriorityList { ... }; protected $routePluginManager = class Laminas\Router\RoutePluginManager { ... }; protected $defaultParams = [...] }; protected $routeMatch = class Laminas\Router\Http\RouteMatch { protected $length = 31; protected $params = [...]; protected $matchedRouteName = 'admin/id' }; protected $viewModel = class Laminas\View\Model\ViewModel { protected $captureTo = 'content'; protected $children = [...]; protected $options = [...]; protected $template = 'layout/layout-admin'; protected $terminate = FALSE; protected $variables = class Laminas\View\Variables { ... }; protected $append = FALSE }; protected $name = 'render'; protected $target = class Laminas\Mvc\Application { protected $defaultListeners = [...]; protected $event = ...; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; protected $response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; protected $params = ['application' => class Laminas\Mvc\Application { ... }, 'request' => class Laminas\Http\PhpEnvironment\Request { ... }, 'response' => class Laminas\Http\PhpEnvironment\Response { ... }, 'router' => class Laminas\Router\Http\TreeRouteStack { ... }, 'route-match' => class Laminas\Router\Http\RouteMatch { ... }, '__RESULT__' => class Laminas\View\Model\ViewModel { ... }]; protected $stopPropagation = FALSE }, $callback = *uninitialized*) /home/xxxxx/omeka-s/vendor/laminas/laminas-eventmanager/src/EventManager.php:170
[04-Aug-2021 12:39:43 UTC] PHP   6. Laminas\Mvc\View\Http\DefaultRenderingStrategy->render($e = class Laminas\Mvc\MvcEvent { protected $application = class Laminas\Mvc\Application { protected $defaultListeners = [...]; protected $event = ...; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; protected $response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; protected $request = class Laminas\Http\PhpEnvironment\Request { protected $baseUrl = '/data'; protected $basePath = '/data'; protected $requestUri = '/data/admin/resource-template/5/edit'; protected $serverParams = class Laminas\Stdlib\Parameters { ... }; protected $envParams = class Laminas\Stdlib\Parameters { ... }; protected $method = 'GET'; protected $allowCustomMethods = TRUE; protected $uri = class Laminas\Uri\Http { ... }; protected $queryParams = NULL; protected $postParams = NULL; protected $fileParams = NULL; protected $version = '1.1'; protected $headers = class Laminas\Http\Headers { ... }; protected $metadata = [...]; protected $content = '' }; protected $response = class Laminas\Http\PhpEnvironment\Response { protected $version = NULL; protected $contentSent = FALSE; private $headersSentHandler = NULL; protected $recommendedReasonPhrases = [...]; protected $statusCode = 200; protected $reasonPhrase = NULL; protected $headers = NULL; protected $metadata = [...]; protected $content = '' }; protected $result = class Laminas\View\Model\ViewModel { protected $captureTo = 'content'; protected $children = [...]; protected $options = [...]; protected $template = 'omeka/admin/resource-template/edit'; protected $terminate = FALSE; protected $variables = class Laminas\View\Variables { ... }; protected $append = FALSE }; protected $router = class Laminas\Router\Http\TreeRouteStack { protected $baseUrl = '/data'; protected $requestUri = class Laminas\Uri\Http { ... }; protected $prototypes = class ArrayObject { ... }; protected $routes = class Laminas\Router\PriorityList { ... }; protected $routePluginManager = class Laminas\Router\RoutePluginManager { ... }; protected $defaultParams = [...] }; protected $routeMatch = class Laminas\Router\Http\RouteMatch { protected $length = 31; protected $params = [...]; protected $matchedRouteName = 'admin/id' }; protected $viewModel = class Laminas\View\Model\ViewModel { protected $captureTo = 'content'; protected $children = [...]; protected $options = [...]; protected $template = 'layout/layout-admin'; protected $terminate = FALSE; protected $variables = class Laminas\View\Variables { ... }; protected $append = FALSE }; protected $name = 'render'; protected $target = class Laminas\Mvc\Application { protected $defaultListeners = [...]; protected $event = ...; protected $events = class Laminas\EventManager\EventManager { ... }; protected $request = class Laminas\Http\PhpEnvironment\Request { ... }; protected $response = class Laminas\Http\PhpEnvironment\Response { ... }; protected $serviceManager = class Laminas\ServiceManager\ServiceManager { ... } }; protected $params = ['application' => class Laminas\Mvc\Application { ... }, 'request' => class Laminas\Http\PhpEnvironment\Request { ... }, 'response' => class Laminas\Http\PhpEnvironment\Response { ... }, 'router' => class Laminas\Router\Http\TreeRouteStack { ... }, 'route-match' => class Laminas\Router\Http\RouteMatch { ... }, '__RESULT__' => class Laminas\View\Model\ViewModel { ... }]; protected $stopPropagation = FALSE }) /home/xxxxx/omeka-s/vendor/laminas/laminas-eventmanager/src/EventManager.php:321
[04-Aug-2021 12:39:43 UTC] PHP   7. Laminas\View\View->render($model = class Laminas\View\Model\ViewModel { protected $captureTo = 'content'; protected $children = [0 => class Laminas\View\Model\ViewModel { ... }]; protected $options = []; protected $template = 'layout/layout-admin'; protected $terminate = FALSE; protected $variables = class Laminas\View\Variables { protected $strictVars = FALSE; private ${ArrayObject}storage = [...] }; protected $append = FALSE }) /home/xxxxx/omeka-s/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php:104
[04-Aug-2021 12:39:43 UTC] PHP   8. Laminas\View\View->renderChildren($model = class Laminas\View\Model\ViewModel { protected $captureTo = 'content'; protected $children = [0 => class Laminas\View\Model\ViewModel { ... }]; protected $options = []; protected $template = 'layout/layout-admin'; protected $terminate = FALSE; protected $variables = class Laminas\View\Variables { protected $strictVars = FALSE; private ${ArrayObject}storage = [...] }; protected $append = FALSE }) /home/xxxxx/omeka-s/vendor/laminas/laminas-view/src/View.php:199
[04-Aug-2021 12:39:43 UTC] PHP   9. Laminas\View\View->render($model = class Laminas\View\Model\ViewModel { protected $captureTo = 'content'; protected $children = []; protected $options = ['has_parent' => TRUE]; protected $template = 'omeka/admin/resource-template/edit'; protected $terminate = FALSE; protected $variables = class Laminas\View\Variables { protected $strictVars = FALSE; private ${ArrayObject}storage = [...] }; protected $append = FALSE }) /home/xxxxx/omeka-s/vendor/laminas/laminas-view/src/View.php:235
[04-Aug-2021 12:39:43 UTC] PHP  10. Laminas\View\Renderer\PhpRenderer->render($nameOrModel = class Laminas\View\Model\ViewModel { protected $captureTo = 'content'; protected $children = []; protected $options = ['has_parent' => TRUE]; protected $template = 'omeka/admin/resource-template/edit'; protected $terminate = FALSE; protected $variables = class Laminas\View\Variables { protected $strictVars = FALSE; private ${ArrayObject}storage = [...] }; protected $append = FALSE }, $values = *uninitialized*) /home/xxxxx/omeka-s/vendor/laminas/laminas-view/src/View.php:206
[04-Aug-2021 12:39:43 UTC] PHP  11. include() /home/xxxxx/omeka-s/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:505
[04-Aug-2021 12:39:43 UTC] PHP  12. Laminas\View\Renderer\PhpRenderer->partial('omeka/admin/resource-template/form.phtml', ['form' => class Omeka\Form\ResourceTemplateForm { protected $attributes = [...]; protected $bindAs = 17; protected $bindOnValidate = 0; protected $baseFieldset = NULL; protected $data = [...]; protected $filter = class Laminas\InputFilter\InputFilter { ... }; protected $useInputFilterDefaults = TRUE; protected $hasAddedInputFilterDefaults = TRUE; protected $hasValidated = FALSE; protected $isValid = FALSE; protected $isPrepared = TRUE; protected $preferFormInputFilter = TRUE; protected $hasSetPreferFormInputFilter = FALSE; protected $wrapElements = FALSE; protected $validationGroup = NULL; protected $factory = class Laminas\Form\Factory { ... }; protected $elements = [...]; protected $fieldsets = [...]; protected $messages = [...]; protected $iterator = class Laminas\Stdlib\PriorityList { ... }; protected $hydrator = NULL; protected $object = NULL; protected $useAsBaseFieldset = FALSE; protected $allowedObjectBindingClass = NULL; protected $label = NULL; protected $labelAttributes = [...]; protected $labelOptions = [...]; protected $options = [...]; protected $value = NULL }, 'resourceTemplate' => class Omeka\Api\Representation\ResourceTemplateRepresentation { protected $id = 5; protected $resource = class Omeka\Entity\ResourceTemplate { ... }; protected $adapter = class Omeka\Api\Adapter\ResourceTemplateAdapter { ... }; protected $translator = NULL; protected $viewHelperManager = class Laminas\View\HelperPluginManager { ... }; protected $services = class Laminas\ServiceManager\ServiceManager { ... }; protected $events = class Laminas\EventManager\EventManager { ... } }, 'propertyRows' => [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...]], 'submitLabel' => 'Save', 'action' => 'edit']) /home/xxxxx/omeka-s/application/view/omeka/admin/resource-template/edit.phtml:16
[04-Aug-2021 12:39:43 UTC] PHP  13. Laminas\View\Renderer\PhpRenderer->__call($method = 'partial', $argv = [0 => 'omeka/admin/resource-template/form.phtml', 1 => ['form' => class Omeka\Form\ResourceTemplateForm { ... }, 'resourceTemplate' => class Omeka\Api\Representation\ResourceTemplateRepresentation { ... }, 'propertyRows' => [...], 'submitLabel' => 'Save', 'action' => 'edit']]) /home/xxxxx/omeka-s/application/view/omeka/admin/resource-template/edit.phtml:16
[04-Aug-2021 12:39:43 UTC] PHP  14. call_user_func_array:{/home/xxxxx/omeka-s/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:396}($function_name = class Laminas\View\Helper\Partial { protected $objectKey = NULL; protected $view = class Laminas\View\Renderer\PhpRenderer { private $__content = '<div id="delete" class="sidebar">\n    <a class="sidebar-close&#x20;o-icon-close" title="Close" href="&#x23;" aria-label="Close"></a>    <div id="sidebar-confirm">\n                <h3>Delete resource template</h3>\n        <p>Are you sure you would like to delete this resource template?</p>\n        <form method="POST" name="confirmform" action="&#x2F;data&#x2F;admin&#x2F;resource-template&#x2F;5&#x2F;delete" id="confirmform"><input type="hidden" name="confirmform_csrf" value="8803f17e1a90a1d97878b6f2901b3'; private $__renderTrees = FALSE; private $__template = NULL; private $__templates = [...]; private $__templateResolver = class Laminas\View\Resolver\AggregateResolver { ... }; private $__file = '/home/xxxxx/omeka-s/application/view/common/form-row.phtml'; private $__helpers = class Laminas\View\HelperPluginManager { ... }; private $__filterChain = NULL; private $__vars = class Laminas\View\Variables { ... }; private $__varsCache = [...] } }, $parameters = [0 => 'omeka/admin/resource-template/form.phtml', 1 => ['form' => class Omeka\Form\ResourceTemplateForm { ... }, 'resourceTemplate' => class Omeka\Api\Representation\ResourceTemplateRepresentation { ... }, 'propertyRows' => [...], 'submitLabel' => 'Save', 'action' => 'edit']]) /home/xxxxx/omeka-s/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:396
[04-Aug-2021 12:39:43 UTC] PHP  15. Laminas\View\Helper\Partial->__invoke($name = 'omeka/admin/resource-template/form.phtml', $values = ['form' => class Omeka\Form\ResourceTemplateForm { protected $attributes = [...]; protected $bindAs = 17; protected $bindOnValidate = 0; protected $baseFieldset = NULL; protected $data = [...]; protected $filter = class Laminas\InputFilter\InputFilter { ... }; protected $useInputFilterDefaults = TRUE; protected $hasAddedInputFilterDefaults = TRUE; protected $hasValidated = FALSE; protected $isValid = FALSE; protected $isPrepared = TRUE; protected $preferFormInputFilter = TRUE; protected $hasSetPreferFormInputFilter = FALSE; protected $wrapElements = FALSE; protected $validationGroup = NULL; protected $factory = class Laminas\Form\Factory { ... }; protected $elements = [...]; protected $fieldsets = [...]; protected $messages = [...]; protected $iterator = class Laminas\Stdlib\PriorityList { ... }; protected $hydrator = NULL; protected $object = NULL; protected $useAsBaseFieldset = FALSE; protected $allowedObjectBindingClass = NULL; protected $label = NULL; protected $labelAttributes = [...]; protected $labelOptions = [...]; protected $options = [...]; protected $value = NULL }, 'resourceTemplate' => class Omeka\Api\Representation\ResourceTemplateRepresentation { protected $id = 5; protected $resource = class Omeka\Entity\ResourceTemplate { ... }; protected $adapter = class Omeka\Api\Adapter\ResourceTemplateAdapter { ... }; protected $translator = NULL; protected $viewHelperManager = class Laminas\View\HelperPluginManager { ... }; protected $services = class Laminas\ServiceManager\ServiceManager { ... }; protected $events = class Laminas\EventManager\EventManager { ... } }, 'propertyRows' => [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...]], 'submitLabel' => 'Save', 'action' => 'edit']) /home/xxxxx/omeka-s/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:396
[04-Aug-2021 12:39:43 UTC] PHP  16. Laminas\View\Renderer\PhpRenderer->render($nameOrModel = 'omeka/admin/resource-template/form.phtml', $values = ['form' => class Omeka\Form\ResourceTemplateForm { protected $attributes = [...]; protected $bindAs = 17; protected $bindOnValidate = 0; protected $baseFieldset = NULL; protected $data = [...]; protected $filter = class Laminas\InputFilter\InputFilter { ... }; protected $useInputFilterDefaults = TRUE; protected $hasAddedInputFilterDefaults = TRUE; protected $hasValidated = FALSE; protected $isValid = FALSE; protected $isPrepared = TRUE; protected $preferFormInputFilter = TRUE; protected $hasSetPreferFormInputFilter = FALSE; protected $wrapElements = FALSE; protected $validationGroup = NULL; protected $factory = class Laminas\Form\Factory { ... }; protected $elements = [...]; protected $fieldsets = [...]; protected $messages = [...]; protected $iterator = class Laminas\Stdlib\PriorityList { ... }; protected $hydrator = NULL; protected $object = NULL; protected $useAsBaseFieldset = FALSE; protected $allowedObjectBindingClass = NULL; protected $label = NULL; protected $labelAttributes = [...]; protected $labelOptions = [...]; protected $options = [...]; protected $value = NULL }, 'resourceTemplate' => class Omeka\Api\Representation\ResourceTemplateRepresentation { protected $id = 5; protected $resource = class Omeka\Entity\ResourceTemplate { ... }; protected $adapter = class Omeka\Api\Adapter\ResourceTemplateAdapter { ... }; protected $translator = NULL; protected $viewHelperManager = class Laminas\View\HelperPluginManager { ... }; protected $services = class Laminas\ServiceManager\ServiceManager { ... }; protected $events = class Laminas\EventManager\EventManager { ... } }, 'propertyRows' => [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...]], 'submitLabel' => 'Save', 'action' => 'edit']) /home/xxxxx/omeka-s/vendor/laminas/laminas-view/src/Helper/Partial.php:61
[04-Aug-2021 12:39:43 UTC] PHP  17. include() /home/xxxxx/omeka-s/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:505
[04-Aug-2021 12:39:43 UTC] PHP  18. Omeka\View\Helper\DataType->getSelect($name = 'data_type', $value = NULL, $attributes = ['id' => 'data-type', 'multiple' => TRUE, 'class' => 'chosen-select', 'data-placeholder' => 'Select data types…']) /home/xxxxx/omeka-s/application/view/omeka/admin/resource-template/form.phtml:96
[04-Aug-2021 12:39:43 UTC] PHP  19. Omeka\DataType\Manager->get($name = 'nesteddatatype#schema:Occupation', $options = *uninitialized*) /home/xxxxx/omeka-s/application/src/View/Helper/DataType.php:49
[04-Aug-2021 12:39:43 UTC] PHP  20. Omeka\DataType\Manager->get($name = 'nesteddatatype#schema:Occupation') /home/xxxxx/omeka-s/vendor/laminas/laminas-servicemanager/src/AbstractPluginManager.php:153
[04-Aug-2021 12:39:43 UTC] PHP  21. Omeka\DataType\Manager->doCreate($resolvedName = 'nesteddatatype#schema:Occupation', $options = *uninitialized*) /home/xxxxx/omeka-s/vendor/laminas/laminas-servicemanager/src/ServiceManager.php:201
[04-Aug-2021 12:39:43 UTC] PHP  22. NestedDataType\Service\NestedDataTypeFactory->__invoke($services = class Laminas\ServiceManager\ServiceManager { protected $abstractFactories = ['000000004677fd3c000000004c0c0498' => class Laminas\Form\FormAbstractServiceFactory { ... }, '000000004677fd3f000000004c0c0498' => class Laminas\Navigation\Service\NavigationAbstractServiceFactory { ... }]; protected $aliases = ['EventManagerInterface' => 'Laminas\\EventManager\\EventManager', 'Laminas\EventManager\EventManagerInterface' => 'EventManager', 'Laminas\ModuleManager\ModuleManager' => 'ModuleManager', 'Laminas\ModuleManager\Listener\ServiceListener' => 'ServiceListener', 'Laminas\EventManager\SharedEventManager' => 'SharedEventManager', 'SharedEventManagerInterface' => 'SharedEventManager', 'Laminas\EventManager\SharedEventManagerInterface' => 'SharedEventManager', 'application' => 'Application', 'Config' => 'config', 'configuration' => 'config', 'Configuration' => 'config', 'HttpDefaultRenderingStrategy' => 'Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy', 'MiddlewareListener' => 'Laminas\\Mvc\\MiddlewareListener', 'request' => 'Request', 'response' => 'Response', 'RouteListener' => 'Laminas\\Mvc\\RouteListener', 'SendResponseListener' => 'Laminas\\Mvc\\SendResponseListener', 'View' => 'Laminas\\View\\View', 'ViewFeedRenderer' => 'Laminas\\View\\Renderer\\FeedRenderer', 'ViewJsonRenderer' => 'Laminas\\View\\Renderer\\JsonRenderer', 'ViewPhpRendererStrategy' => 'Laminas\\View\\Strategy\\PhpRendererStrategy', 'ViewPhpRenderer' => 'Laminas\\View\\Renderer\\PhpRenderer', 'ViewRenderer' => 'Laminas\\View\\Renderer\\PhpRenderer', 'Laminas\Mvc\Controller\PluginManager' => 'ControllerPluginManager', 'Laminas\Mvc\View\Http\InjectTemplateListener' => 'InjectTemplateListener', 'Laminas\View\Renderer\RendererInterface' => 'Laminas\\View\\Renderer\\PhpRenderer', 'Laminas\View\Resolver\TemplateMapResolver' => 'ViewTemplateMapResolver', 'Laminas\View\Resolver\TemplatePathStack' => 'ViewTemplatePathStack', 'Laminas\View\Resolver\AggregateResolver' => 'ViewResolver', 'Laminas\View\Resolver\ResolverInterface' => 'ViewResolver', 'Laminas\Form\Annotation\FormAnnotationBuilder' => 'FormAnnotationBuilder', 'Laminas\Form\Annotation\AnnotationBuilder' => 'FormAnnotationBuilder', 'Laminas\Form\FormElementManager' => 'FormElementManager', 'Zend\Form\Annotation\FormAnnotationBuilder' => 'Laminas\\Form\\Annotation\\FormAnnotationBuilder', 'Zend\Form\Annotation\AnnotationBuilder' => 'Laminas\\Form\\Annotation\\AnnotationBuilder', 'Zend\Form\FormElementManager' => 'Laminas\\Form\\FormElementManager', 'TranslatorPluginManager' => 'Laminas\\I18n\\Translator\\LoaderPluginManager', 'Zend\I18n\Translator\TranslatorInterface' => 'Laminas\\I18n\\Translator\\TranslatorInterface', 'Zend\I18n\Translator\LoaderPluginManager' => 'Laminas\\I18n\\Translator\\LoaderPluginManager', 'MvcTranslator' => 'Laminas\\Mvc\\I18n\\Translator', 'Zend\Mvc\I18n\Translator' => 'Laminas\\Mvc\\I18n\\Translator', 'navigation' => 'Laminas\\Navigation\\Navigation', 'Zend\Navigation\Navigation' => 'Laminas\\Navigation\\Navigation', 'HttpRouter' => 'Laminas\\Router\\Http\\TreeRouteStack', 'router' => 'Laminas\\Router\\RouteStackInterface', 'Router' => 'Laminas\\Router\\RouteStackInterface', 'RoutePluginManager' => 'Laminas\\Router\\RoutePluginManager', 'Zend\Router\Http\TreeRouteStack' => 'Laminas\\Router\\Http\\TreeRouteStack', 'Zend\Router\RoutePluginManager' => 'Laminas\\Router\\RoutePluginManager', 'Zend\Router\RouteStackInterface' => 'Laminas\\Router\\RouteStackInterface', 'Omeka\File\Store' => 'Omeka\\File\\Store\\Local', 'Omeka\File\Thumbnailer' => 'Omeka\\File\\Thumbnailer\\ImageMagick', 'Omeka\Job\DispatchStrategy' => 'Omeka\\Job\\DispatchStrategy\\PhpCli', 'Omeka\JobDispatcher' => 'Omeka\\Job\\Dispatcher', 'Laminas\Authentication\AuthenticationService' => 'Omeka\\AuthenticationService', 'ModuleRouteListener' => 'Laminas\\Mvc\\ModuleRouteListener', 'Omeka\MvcExceptionListener' => 'Omeka\\Mvc\\ExceptionListener', 'Omeka\MvcListeners' => 'Omeka\\Mvc\\MvcListeners', 'Omeka\ViewApiJsonRenderer' => 'Omeka\\View\\Renderer\\ApiJsonRenderer']; protected $allowOverride = FALSE; protected $creationContext = ...; protected $delegators = ['HttpRouter' => [...], 'Laminas\Router\Http\TreeRouteStack' => [...], 'ViewHelperManager' => [...], 'Laminas\I18n\Translator\TranslatorInterface' => [...]]; protected $factories = ['Application' => class Laminas\Mvc\Service\ApplicationFactory { ... }, 'config' => class Laminas\Mvc\Service\ConfigFactory { ... }, 'ControllerManager' => class Laminas\Mvc\Service\ControllerManagerFactory { ... }, 'ControllerPluginManager' => class Laminas\Mvc\Service\ControllerPluginManagerFactory { ... }, 'DispatchListener' => class Laminas\Mvc\Service\DispatchListenerFactory { ... }, 'HttpExceptionStrategy' => class Laminas\Mvc\Service\HttpExceptionStrategyFactory { ... }, 'HttpMethodListener' => class Laminas\Mvc\Service\HttpMethodListenerFactory { ... }, 'HttpRouteNotFoundStrategy' => class Laminas\Mvc\Service\HttpRouteNotFoundStrategyFactory { ... }, 'HttpViewManager' => class Laminas\Mvc\Service\HttpViewManagerFactory { ... }, 'InjectTemplateListener' => class Laminas\Mvc\Service\InjectTemplateListenerFactory { ... }, 'PaginatorPluginManager' => 'Laminas\\Mvc\\Service\\PaginatorPluginManagerFactory', 'Request' => class Laminas\Mvc\Service\RequestFactory { ... }, 'Response' => class Laminas\Mvc\Service\ResponseFactory { ... }, 'ViewHelperManager' => class Laminas\Mvc\Service\ViewHelperManagerFactory { ... }, 'Laminas\Mvc\View\Http\DefaultRenderingStrategy' => class Laminas\Mvc\Service\HttpDefaultRenderingStrategyFactory { ... }, 'ViewFeedStrategy' => 'Laminas\\Mvc\\Service\\ViewFeedStrategyFactory', 'ViewJsonStrategy' => class Laminas\Mvc\Service\ViewJsonStrategyFactory { ... }, 'ViewManager' => class Laminas\Mvc\Service\ViewManagerFactory { ... }, 'ViewResolver' => class Laminas\Mvc\Service\ViewResolverFactory { ... }, 'ViewTemplateMapResolver' => class Laminas\Mvc\Service\ViewTemplateMapResolverFactory { ... }, 'ViewTemplatePathStack' => class Laminas\Mvc\Service\ViewTemplatePathStackFactory { ... }, 'ViewPrefixPathStackResolver' => class Laminas\Mvc\Service\ViewPrefixPathStackResolverFactory { ... }, 'Laminas\Mvc\MiddlewareListener' => class Laminas\ServiceManager\Factory\InvokableFactory { ... }, 'Laminas\Mvc\RouteListener' => class Laminas\ServiceManager\Factory\InvokableFactory { ... }, 'Laminas\Mvc\SendResponseListener' => class Laminas\Mvc\Service\SendResponseListenerFactory { ... }, 'Laminas\View\Renderer\FeedRenderer' => 'Laminas\\ServiceManager\\Factory\\InvokableFactory', 'Laminas\View\Renderer\JsonRenderer' => class Laminas\ServiceManager\Factory\InvokableFactory { ... }, 'Laminas\View\Renderer\PhpRenderer' => class Laminas\Mvc\Service\ViewPhpRendererFactory { ... }, 'Laminas\View\Strategy\PhpRendererStrategy' => class Laminas\Mvc\Service\ViewPhpRendererStrategyFactory { ... }, 'Laminas\View\View' => class Laminas\Mvc\Service\ViewFactory { ... }, 'FormAnnotationBuilder' => 'Laminas\\Form\\Annotation\\AnnotationBuilderFactory', 'FormElementManager' => class Laminas\Form\FormElementManagerFactory { ... }, 'Laminas\I18n\Translator\TranslatorInterface' => class Laminas\I18n\Translator\TranslatorServiceFactory { ... }, 'Laminas\I18n\Translator\LoaderPluginManager' => class Laminas\I18n\Translator\LoaderPluginManagerFactory { ... }, 'Laminas\Mvc\I18n\Translator' => class Laminas\Mvc\I18n\TranslatorFactory { ... }, 'Laminas\Navigation\Navigation' => 'Laminas\\Navigation\\Service\\DefaultNavigationFactory', 'Laminas\Router\Http\TreeRouteStack' => class Laminas\Router\Http\HttpRouterFactory { ... }, 'Laminas\Router\RoutePluginManager' => class Laminas\Router\RoutePluginManagerFactory { ... }, 'Laminas\Router\RouteStackInterface' => class Laminas\Router\RouterFactory { ... }, 'Omeka\Acl' => class Omeka\Service\AclFactory { ... }, 'Omeka\ApiAdapterManager' => class Omeka\Service\ApiAdapterManagerFactory { ... }, 'Omeka\ApiManager' => class Omeka\Service\ApiManagerFactory { ... }, 'Omeka\AuthenticationService' => class Omeka\Service\AuthenticationServiceFactory { ... }, 'Omeka\EntityManager' => class Omeka\Service\EntityManagerFactory { ... }, 'Omeka\Installer' => 'Omeka\\Service\\InstallerFactory', 'Omeka\Logger' => class Omeka\Service\LoggerFactory { ... }, 'Omeka\MigrationManager' => 'Omeka\\Service\\MigrationManagerFactory', 'Omeka\ViewApiJsonStrategy' => class Omeka\Service\ViewApiJsonStrategyFactory { ... }, 'Omeka\HttpClient' => 'Omeka\\Service\\HttpClientFactory', 'Omeka\Mailer' => 'Omeka\\Service\\MailerFactory', 'Omeka\HtmlPurifier' => 'Omeka\\Service\\HtmlPurifierFactory', 'Omeka\BlockLayoutManager' => 'Omeka\\Service\\BlockLayoutManagerFactory', 'Omeka\DataTypeManager' => class Omeka\Service\DataTypeManagerFactory { ... }, 'Omeka\Cli' => 'Omeka\\Service\\CliFactory', 'Omeka\Paginator' => 'Omeka\\Service\\PaginatorFactory', 'Omeka\RdfImporter' => 'Omeka\\Service\\RdfImporterFactory', 'Omeka\Site\ThemeManager' => class Omeka\Service\ThemeManagerFactory { ... }, 'Omeka\Site\NavigationLinkManager' => 'Omeka\\Service\\NavigationLinkManagerFactory', 'Omeka\Site\NavigationTranslator' => 'Omeka\\Service\\SiteNavigationTranslatorFactory', 'Omeka\File\Thumbnailer\ImageMagick' => 'Omeka\\Service\\File\\Thumbnailer\\ImageMagickFactory', 'Omeka\File\Thumbnailer\Gd' => 'Omeka\\Service\\File\\Thumbnailer\\GdFactory', 'Omeka\File\Thumbnailer\Imagick' => 'Omeka\\Service\\File\\Thumbnailer\\ImagickFactory', 'Omeka\File\Thumbnailer\NoThumbnail' => 'Omeka\\Service\\File\\Thumbnailer\\NoThumbnailFactory', 'Omeka\File\Store\Local' => 'Omeka\\Service\\File\\Store\\LocalFactory', 'Omeka\File\MediaTypeMap' => 'Omeka\\Service\\MediaTypeMapFactory', 'Omeka\File\ThumbnailManager' => 'Omeka\\Service\\File\\ThumbnailManagerFactory', 'Omeka\File\TempFileFactory' => 'Omeka\\Service\\File\\TempFileFactoryFactory', 'Omeka\File\Downloader' => 'Omeka\\Service\\File\\DownloaderFactory', 'Omeka\File\Uploader' => 'Omeka\\Service\\File\\UploaderFactory', 'Omeka\File\Validator' => 'Omeka\\Service\\File\\ValidatorFactory', 'Omeka\Settings' => class Omeka\Service\Settings\SettingsFactory { ... }, 'Omeka\Settings\Site' => 'Omeka\\Service\\Settings\\SiteSettingsFactory', 'Omeka\Settings\User' => class Omeka\Service\Settings\UserSettingsFactory { ... }, 'Omeka\Job\Dispatcher' => 'Omeka\\Service\\Job\\DispatcherFactory', 'Omeka\Job\DispatchStrategy\PhpCli' => 'Omeka\\Service\\Job\\DispatchStrategy\\PhpCliFactory', 'Omeka\Job\DispatchStrategy\Synchronous' => 'Omeka\\Service\\Job\\DispatchStrategy\\SynchronousFactory', 'Omeka\Media\Ingester\Manager' => 'Omeka\\Service\\Media\\Ingester\\ManagerFactory', 'Omeka\Media\Renderer\Manager' => 'Omeka\\Service\\Media\\Renderer\\ManagerFactory', 'Omeka\Media\FileRenderer\Manager' => 'Omeka\\Service\\Media\\FileRenderer\\ManagerFactory', 'Omeka\FulltextSearch' => 'Omeka\\Service\\FulltextSearchFactory', 'Omeka\Environment' => 'Omeka\\Service\\EnvironmentFactory', 'BulkExport\Formatter\Manager' => 'BulkExport\\Service\\Plugin\\FormatterManagerFactory', 'BulkExport\Writer\Manager' => 'BulkExport\\Service\\Plugin\\PluginManagerFactory', 'ImageServer\File\Thumbnailer\Vips' => 'ImageServer\\Service\\File\\Thumbnailer\\VipsFactory', 'ItemSetsTree' => 'ItemSetsTree\\Service\\ItemSetsTreeFactory', 'OaiPmhRepository\OaiPmh\MetadataFormatManager' => 'OaiPmhRepository\\Service\\OaiPmh\\MetadataFormatManagerFactory', 'OaiPmhRepository\OaiPmh\OaiSetManager' => 'OaiPmhRepository\\Service\\OaiPmh\\OaiSetManagerFactory', 'Laminas\Mvc\ModuleRouteListener' => class Laminas\ServiceManager\Factory\InvokableFactory { ... }, 'Omeka\Mvc\ExceptionListener' => class Laminas\ServiceManager\Factory\InvokableFactory { ... }, 'Omeka\Mvc\MvcListeners' => class Laminas\ServiceManager\Factory\InvokableFactory { ... }, 'Omeka\View\Renderer\ApiJsonRenderer' => class Laminas\ServiceManager\Factory\InvokableFactory { ... }, 'CleanUrl\Mvc\MvcListeners' => class Laminas\ServiceManager\Factory\InvokableFactory { ... }, 'EventManager' => class Laminas\Mvc\Service\EventManagerFactory { ... }, 'ModuleManager' => class Laminas\Mvc\Service\ModuleManagerFactory { ... }, 'ServiceListener' => class Laminas\Mvc\Service\ServiceListenerFactory { ... }, 'ServiceManager' => class Closure { ... }, 'SharedEventManager' => class Closure { ... }, 'Omeka\Connection' => class Omeka\Service\ConnectionFactory { ... }, 'Omeka\ModuleManager' => class Omeka\Service\ModuleManagerFactory { ... }, 'Omeka\Status' => class Omeka\Service\StatusFactory { ... }]; protected $initializers = [0 => class Closure { ... }]; protected $lazyServices = []; private $lazyServicesDelegator = NULL; private $resolvedAliases = ['EventManagerInterface' => 'Laminas\\EventManager\\EventManager', 'Laminas\EventManager\EventManagerInterface' => 'EventManager', 'Laminas\ModuleManager\ModuleManager' => 'ModuleManager', 'Laminas\ModuleManager\Listener\ServiceListener' => 'ServiceListener', 'Laminas\EventManager\SharedEventManager' => 'SharedEventManager', 'SharedEventManagerInterface' => 'SharedEventManager', 'Laminas\EventManager\SharedEventManagerInterface' => 'SharedEventManager', 'application' => 'Application', 'Config' => 'config', 'configuration' => 'config', 'Configuration' => 'config', 'HttpDefaultRenderingStrategy' => 'Laminas\\Mvc\\View\\Http\\DefaultRenderingStrategy', 'MiddlewareListener' => 'Laminas\\Mvc\\MiddlewareListener', 'request' => 'Request', 'response' => 'Response', 'RouteListener' => 'Laminas\\Mvc\\RouteListener', 'SendResponseListener' => 'Laminas\\Mvc\\SendResponseListener', 'View' => 'Laminas\\View\\View', 'ViewFeedRenderer' => 'Laminas\\View\\Renderer\\FeedRenderer', 'ViewJsonRenderer' => 'Laminas\\View\\Renderer\\JsonRenderer', 'ViewPhpRendererStrategy' => 'Laminas\\View\\Strategy\\PhpRendererStrategy', 'ViewPhpRenderer' => 'Laminas\\View\\Renderer\\PhpRenderer', 'ViewRenderer' => 'Laminas\\View\\Renderer\\PhpRenderer', 'Laminas\Mvc\Controller\PluginManager' => 'ControllerPluginManager', 'Laminas\Mvc\View\Http\InjectTemplateListener' => 'InjectTemplateListener', 'Laminas\View\Renderer\RendererInterface' => 'Laminas\\View\\Renderer\\PhpRenderer', 'Laminas\View\Resolver\TemplateMapResolver' => 'ViewTemplateMapResolver', 'Laminas\View\Resolver\TemplatePathStack' => 'ViewTemplatePathStack', 'Laminas\View\Resolver\AggregateResolver' => 'ViewResolver', 'Laminas\View\Resolver\ResolverInterface' => 'ViewResolver', 'Laminas\Form\Annotation\FormAnnotationBuilder' => 'FormAnnotationBuilder', 'Laminas\Form\Annotation\AnnotationBuilder' => 'FormAnnotationBuilder', 'Laminas\Form\FormElementManager' => 'FormElementManager', 'Zend\Form\Annotation\FormAnnotationBuilder' => 'FormAnnotationBuilder', 'Zend\Form\Annotation\AnnotationBuilder' => 'FormAnnotationBuilder', 'Zend\Form\FormElementManager' => 'FormElementManager', 'TranslatorPluginManager' => 'Laminas\\I18n\\Translator\\LoaderPluginManager', 'Zend\I18n\Translator\TranslatorInterface' => 'Laminas\\I18n\\Translator\\TranslatorInterface', 'Zend\I18n\Translator\LoaderPluginManager' => 'Laminas\\I18n\\Translator\\LoaderPluginManager', 'MvcTranslator' => 'Laminas\\Mvc\\I18n\\Translator', 'Zend\Mvc\I18n\Translator' => 'Laminas\\Mvc\\I18n\\Translator', 'navigation' => 'Laminas\\Navigation\\Navigation', 'Zend\Navigation\Navigation' => 'Laminas\\Navigation\\Navigation', 'HttpRouter' => 'Laminas\\Router\\Http\\TreeRouteStack', 'router' => 'Laminas\\Router\\RouteStackInterface', 'Router' => 'Laminas\\Router\\RouteStackInterface', 'RoutePluginManager' => 'Laminas\\Router\\RoutePluginManager', 'Zend\Router\Http\TreeRouteStack' => 'Laminas\\Router\\Http\\TreeRouteStack', 'Zend\Router\RoutePluginManager' => 'Laminas\\Router\\RoutePluginManager', 'Zend\Router\RouteStackInterface' => 'Laminas\\Router\\RouteStackInterface', 'Omeka\File\Store' => 'Omeka\\File\\Store\\Local', 'Omeka\File\Thumbnailer' => 'Omeka\\File\\Thumbnailer\\ImageMagick', 'Omeka\Job\DispatchStrategy' => 'Omeka\\Job\\DispatchStrategy\\PhpCli', 'Omeka\JobDispatcher' => 'Omeka\\Job\\Dispatcher', 'Laminas\Authentication\AuthenticationService' => 'Omeka\\AuthenticationService', 'ModuleRouteListener' => 'Laminas\\Mvc\\ModuleRouteListener', 'Omeka\MvcExceptionListener' => 'Omeka\\Mvc\\ExceptionListener', 'Omeka\MvcListeners' => 'Omeka\\Mvc\\MvcListeners', 'Omeka\ViewApiJsonRenderer' => 'Omeka\\View\\Renderer\\ApiJsonRenderer']; protected $services = ['ApplicationConfig' => [...], 'Laminas\ServiceManager\ServiceManager' => ..., 'ServiceListener' => class Laminas\ModuleManager\Listener\ServiceListener { ... }, 'SharedEventManager' => class Laminas\EventManager\SharedEventManager { ... }, 'ModuleManager' => class Laminas\ModuleManager\ModuleManager { ... }, 'Omeka\Connection' => class Doctrine\DBAL\Connection { ... }, 'Omeka\Status' => class Omeka\Mvc\Status { ... }, 'Omeka\ModuleManager' => class Omeka\Module\Manager { ... }, 'ControllerManager' => class Laminas\Mvc\Controller\ControllerManager { ... }, 'ControllerPluginManager' => class Laminas\Mvc\Controller\PluginManager { ... }, 'config' => [...], 'ViewHelperManager' => class Laminas\View\HelperPluginManager { ... }, 'Laminas\Router\RoutePluginManager' => class Laminas\Router\RoutePluginManager { ... }, 'RoutePluginManager' => class Laminas\Router\RoutePluginManager { ... }, 'FormElementManager' => class Laminas\Form\FormElementManager\FormElementManagerV3Polyfill { ... }, 'Laminas\I18n\Translator\LoaderPluginManager' => class Laminas\I18n\Translator\LoaderPluginManager { ... }, 'TranslatorPluginManager' => class Laminas\I18n\Translator\LoaderPluginManager { ... }, 'Config' => [...], 'Request' => class Laminas\Http\PhpEnvironment\Request { ... }, 'Response' => class Laminas\Http\PhpEnvironment\Response { ... }, 'Application' => class Laminas\Mvc\Application { ... }, 'Laminas\Mvc\RouteListener' => class Laminas\Mvc\RouteListener { ... }, 'RouteListener' => class Laminas\Mvc\RouteListener { ... }, 'Laminas\Mvc\MiddlewareListener' => class Laminas\Mvc\MiddlewareListener { ... }, 'MiddlewareListener' => class Laminas\Mvc\MiddlewareListener { ... }, 'DispatchListener' => class Laminas\Mvc\DispatchListener { ... }, 'HttpMethodListener' => class Laminas\Mvc\HttpMethodListener { ... }, 'HttpViewManager' => class Laminas\Mvc\View\Http\ViewManager { ... }, 'ViewManager' => class Laminas\Mvc\View\Http\ViewManager { ... }, 'Laminas\Mvc\SendResponseListener' => class Laminas\Mvc\SendResponseListener { ... }, 'SendResponseListener' => class Laminas\Mvc\SendResponseListener { ... }, 'Laminas\Mvc\ModuleRouteListener' => class Laminas\Mvc\ModuleRouteListener { ... }, 'ModuleRouteListener' => class Laminas\Mvc\ModuleRouteListener { ... }, 'Omeka\Mvc\ExceptionListener' => class Omeka\Mvc\ExceptionListener { ... }, 'Omeka\MvcExceptionListener' => class Omeka\Mvc\ExceptionListener { ... }, 'Omeka\Mvc\MvcListeners' => class Omeka\Mvc\MvcListeners { ... }, 'Omeka\MvcListeners' => class Omeka\Mvc\MvcListeners { ... }, 'CleanUrl\Mvc\MvcListeners' => class CleanUrl\Mvc\MvcListeners { ... }, 'Laminas\Router\Http\TreeRouteStack' => class Laminas\Router\Http\TreeRouteStack { ... }, 'HttpRouter' => class Laminas\Router\Http\TreeRouteStack { ... }, 'Laminas\Router\RouteStackInterface' => class Laminas\Router\Http\TreeRouteStack { ... }, 'Router' => class Laminas\Router\Http\TreeRouteStack { ... }, 'HttpRouteNotFoundStrategy' => class Laminas\Mvc\View\Http\RouteNotFoundStrategy { ... }, 'HttpExceptionStrategy' => class Laminas\Mvc\View\Http\ExceptionStrategy { ... }, 'ViewTemplateMapResolver' => class Laminas\View\Resolver\TemplateMapResolver { ... }, 'ViewTemplatePathStack' => class Laminas\View\Resolver\TemplatePathStack { ... }, 'ViewPrefixPathStackResolver' => class Laminas\View\Resolver\PrefixPathStackResolver { ... }, 'ViewResolver' => class Laminas\View\Resolver\AggregateResolver { ... }, 'Laminas\View\Renderer\PhpRenderer' => class Laminas\View\Renderer\PhpRenderer { ... }, 'Laminas\View\Strategy\PhpRendererStrategy' => class Laminas\View\Strategy\PhpRendererStrategy { ... }, 'Laminas\View\View' => class Laminas\View\View { ... }, 'Laminas\Mvc\View\Http\DefaultRenderingStrategy' => class Laminas\Mvc\View\Http\DefaultRenderingStrategy { ... }, 'HttpDefaultRenderingStrategy' => class Laminas\Mvc\View\Http\DefaultRenderingStrategy { ... }, 'InjectTemplateListener' => class Laminas\Mvc\View\Http\InjectTemplateListener { ... }, 'Laminas\Mvc\View\Http\InjectTemplateListener' => class Laminas\Mvc\View\Http\InjectTemplateListener { ... }, 'Omeka\View\Renderer\ApiJsonRenderer' => class Omeka\View\Renderer\ApiJsonRenderer { ... }, 'Omeka\ViewApiJsonRenderer' => class Omeka\View\Renderer\ApiJsonRenderer { ... }, 'Omeka\ViewApiJsonStrategy' => class Omeka\View\Strategy\ApiJsonStrategy { ... }, 'Laminas\View\Renderer\JsonRenderer' => class Laminas\View\Renderer\JsonRenderer { ... }, 'ViewJsonRenderer' => class Laminas\View\Renderer\JsonRenderer { ... }, 'ViewJsonStrategy' => class Laminas\View\Strategy\JsonStrategy { ... }, 'Omeka\Settings' => class Omeka\Settings\Settings { ... }, 'Omeka\EntityManager' => class Doctrine\ORM\EntityManager { ... }, 'Omeka\AuthenticationService' => class Laminas\Authentication\AuthenticationService { ... }, 'Laminas\I18n\Translator\TranslatorInterface' => class Omeka\I18n\Translator { ... }, 'Laminas\Mvc\I18n\Translator' => class Laminas\Mvc\I18n\Translator { ... }, 'MvcTranslator' => class Laminas\Mvc\I18n\Translator { ... }, 'Omeka\Settings\User' => class Omeka\Settings\UserSettings { ... }, 'Omeka\Acl' => class Omeka\Permissions\Acl { ... }, 'Omeka\ApiAdapterManager' => class Omeka\Api\Adapter\Manager { ... }, 'Omeka\Logger' => class Laminas\Log\Logger { ... }, 'Omeka\ApiManager' => class Omeka\Api\Manager { ... }, 'Omeka\DataTypeManager' => class Omeka\DataType\Manager { ... }, 'Omeka\Site\ThemeManager' => class Omeka\Site\Theme\Manager { ... }]; protected $shared = ['Omeka\Paginator' => FALSE, 'Omeka\HttpClient' => FALSE, 'EventManager' => FALSE]; protected $sharedByDefault = TRUE; protected $configured = TRUE; private $cachedAbstractFactories = ['Laminas\Form\FormAbstractServiceFactory' => class Laminas\Form\FormAbstractServiceFactory { ... }, 'Laminas\Navigation\Service\NavigationAbstractServiceFactory' => class Laminas\Navigation\Service\NavigationAbstractServiceFactory { ... }] }, $requestedName = 'nesteddatatype#schema:Occupation', $options = NULL) /home/xxxxx/omeka-s/vendor/laminas/laminas-servicemanager/src/ServiceManager.php:765
[04-Aug-2021 12:39:43 UTC] PHP  23. Omeka\Api\Manager->search($resource = 'properties', $data = ['vocabulary_id' => 5], $options = *uninitialized*) /home/xxxxx/omeka-s/modules/NestedDataType/src/Service/NestedDataTypeFactory.php:27
[04-Aug-2021 12:39:43 UTC] PHP  24. Omeka\Api\Manager->execute($request = class Omeka\Api\Request { protected $operations = [0 => 'search', 1 => 'create', 2 => 'batch_create', 3 => 'batch_update', 4 => 'read', 5 => 'update', 6 => 'delete', 7 => 'batch_delete']; protected $operation = 'search'; protected $resource = 'properties'; protected $id = NULL; protected $ids = []; protected $fileData = []; protected $options = []; protected $content = ['vocabulary_id' => 5] }) /home/xxxxx/omeka-s/application/src/Api/Manager.php:59
[04-Aug-2021 12:39:43 UTC] PHP  25. Omeka\Api\Manager->finalize($adapter = class Omeka\Api\Adapter\PropertyAdapter { protected $sortFields = ['id' => 'id', 'local_name' => 'localName', 'label' => 'label', 'comment' => 'comment']; protected $index = 2; protected $translator = NULL; protected $serviceLocator = class Laminas\ServiceManager\ServiceManager { protected $abstractFactories = [...]; protected $aliases = [...]; protected $allowOverride = FALSE; protected $creationContext = ...; protected $delegators = [...]; protected $factories = [...]; protected $initializers = [...]; protected $lazyServices = [...]; private $lazyServicesDelegator = NULL; private $resolvedAliases = [...]; protected $services = [...]; protected $shared = [...]; protected $sharedByDefault = TRUE; protected $configured = TRUE; private $cachedAbstractFactories = [...] }; protected $events = class Laminas\EventManager\EventManager { protected $events = [...]; protected $eventPrototype = class Laminas\EventManager\Event { ... }; protected $identifiers = [...]; protected $sharedManager = class Laminas\EventManager\SharedEventManager { ... } } }, $request = class Omeka\Api\Request { protected $operations = [0 => 'search', 1 => 'create', 2 => 'batch_create', 3 => 'batch_update', 4 => 'read', 5 => 'update', 6 => 'delete', 7 => 'batch_delete']; protected $operation = 'search'; protected $resource = 'properties'; protected $id = NULL; protected $ids = []; protected $fileData = []; protected $options = []; protected $content = ['vocabulary_id' => 5] }, $response = class Omeka\Api\Response { protected $request = class Omeka\Api\Request { protected $operations = [...]; protected $operation = 'search'; protected $resource = 'properties'; protected $id = NULL; protected $ids = [...]; protected $fileData = [...]; protected $options = [...]; protected $content = [...] }; protected $totalResults = 898; protected $content = [0 => class Omeka\Entity\Property { ... }, 1 => class Omeka\Entity\Property { ... }, 2 => class Omeka\Entity\Property { ... }, 3 => class Omeka\Entity\Property { ... }, 4 => class Omeka\Entity\Property { ... }, 5 => class Omeka\Entity\Property { ... }, 6 => class Omeka\Entity\Property { ... }, 7 => class Omeka\Entity\Property { ... }, 8 => class Omeka\Entity\Property { ... }, 9 => class Omeka\Entity\Property { ... }, 10 => class Omeka\Entity\Property { ... }, 11 => class Omeka\Entity\Property { ... }, 12 => class Omeka\Entity\Property { ... }, 13 => class Omeka\Entity\Property { ... }, 14 => class Omeka\Entity\Property { ... }, 15 => class Omeka\Entity\Property { ... }, 16 => class Omeka\Entity\Property { ... }, 17 => class Omeka\Entity\Property { ... }, 18 => class Omeka\Entity\Property { ... }, 19 => class Omeka\Entity\Property { ... }, 20 => class Omeka\Entity\Property { ... }, 21 => class Omeka\Entity\Property { ... }, 22 => class Omeka\Entity\Property { ... }, 23 => class Omeka\Entity\Property { ... }, 24 => class Omeka\Entity\Property { ... }, 25 => class Omeka\Entity\Property { ... }, 26 => class Omeka\Entity\Property { ... }, 27 => class Omeka\Entity\Property { ... }, 28 => class Omeka\Entity\Property { ... }, 29 => class Omeka\Entity\Property { ... }, 30 => class Omeka\Entity\Property { ... }, 31 => class Omeka\Entity\Property { ... }, 32 => class Omeka\Entity\Property { ... }, 33 => class Omeka\Entity\Property { ... }, 34 => class Omeka\Entity\Property { ... }, 35 => class Omeka\Entity\Property { ... }, 36 => class Omeka\Entity\Property { ... }, 37 => class Omeka\Entity\Property { ... }, 38 => class Omeka\Entity\Property { ... }, 39 => class Omeka\Entity\Property { ... }, 40 => class Omeka\Entity\Property { ... }, 41 => class Omeka\Entity\Property { ... }, 42 => class Omeka\Entity\Property { ... }, 43 => class Omeka\Entity\Property { ... }, 44 => class Omeka\Entity\Property { ... }, 45 => class Omeka\Entity\Property { ... }, 46 => class Omeka\Entity\Property { ... }, 47 => class Omeka\Entity\Property { ... }, 48 => class Omeka\Entity\Property { ... }, 49 => class Omeka\Entity\Property { ... }, 50 => class Omeka\Entity\Property { ... }, 51 => class Omeka\Entity\Property { ... }, 52 => class Omeka\Entity\Property { ... }, 53 => class Omeka\Entity\Property { ... }, 54 => class Omeka\Entity\Property { ... }, 55 => class Omeka\Entity\Property { ... }, 56 => class Omeka\Entity\Property { ... }, 57 => class Omeka\Entity\Property { ... }, 58 => class Omeka\Entity\Property { ... }, 59 => class Omeka\Entity\Property { ... }, 60 => class Omeka\Entity\Property { ... }, 61 => class Omeka\Entity\Property { ... }, 62 => class Omeka\Entity\Property { ... }, 63 => class Omeka\Entity\Property { ... }, 64 => class Omeka\Entity\Property { ... }, 65 => class Omeka\Entity\Property { ... }, 66 => class Omeka\Entity\Property { ... }, 67 => class Omeka\Entity\Property { ... }, 68 => class Omeka\Entity\Property { ... }, 69 => class Omeka\Entity\Property { ... }, 70 => class Omeka\Entity\Property { ... }, 71 => class Omeka\Entity\Property { ... }, 72 => class Omeka\Entity\Property { ... }, 73 => class Omeka\Entity\Property { ... }, 74 => class Omeka\Entity\Property { ... }, 75 => class Omeka\Entity\Property { ... }, 76 => class Omeka\Entity\Property { ... }, 77 => class Omeka\Entity\Property { ... }, 78 => class Omeka\Entity\Property { ... }, 79 => class Omeka\Entity\Property { ... }, 80 => class Omeka\Entity\Property { ... }, 81 => class Omeka\Entity\Property { ... }, 82 => class Omeka\Entity\Property { ... }, 83 => class Omeka\Entity\Property { ... }, 84 => class Omeka\Entity\Property { ... }, 85 => class Omeka\Entity\Property { ... }, 86 => class Omeka\Entity\Property { ... }, 87 => class Omeka\Entity\Property { ... }, 88 => class Omeka\Entity\Property { ... }, 89 => class Omeka\Entity\Property { ... }, 90 => class Omeka\Entity\Property { ... }, 91 => class Omeka\Entity\Property { ... }, 92 => class Omeka\Entity\Property { ... }, 93 => class Omeka\Entity\Property { ... }, 94 => class Omeka\Entity\Property { ... }, 95 => class Omeka\Entity\Property { ... }, 96 => class Omeka\Entity\Property { ... }, 97 => class Omeka\Entity\Property { ... }, 98 => class Omeka\Entity\Property { ... }, 99 => class Omeka\Entity\Property { ... }, 100 => class Omeka\Entity\Property { ... }, 101 => class Omeka\Entity\Property { ... }, 102 => class Omeka\Entity\Property { ... }, 103 => class Omeka\Entity\Property { ... }, 104 => class Omeka\Entity\Property { ... }, 105 => class Omeka\Entity\Property { ... }, 106 => class Omeka\Entity\Property { ... }, 107 => class Omeka\Entity\Property { ... }, 108 => class Omeka\Entity\Property { ... }, 109 => class Omeka\Entity\Property { ... }, 110 => class Omeka\Entity\Property { ... }, 111 => class Omeka\Entity\Property { ... }, 112 => class Omeka\Entity\Property { ... }, 113 => class Omeka\Entity\Property { ... }, 114 => class Omeka\Entity\Property { ... }, 115 => class Omeka\Entity\Property { ... }, 116 => class Omeka\Entity\Property { ... }, 117 => class Omeka\Entity\Property { ... }, 118 => class Omeka\Entity\Property { ... }, 119 => class Omeka\Entity\Property { ... }, 120 => class Omeka\Entity\Property { ... }, 121 => class Omeka\Entity\Property { ... }, 122 => class Omeka\Entity\Property { ... }, 123 => class Omeka\Entity\Property { ... }, 124 => class Omeka\Entity\Property { ... }, 125 => class Omeka\Entity\Property { ... }, 126 => class Omeka\Entity\Property { ... }, 127 => class Omeka\Entity\Property { ... }, ...] }) /home/xxxxx/omeka-s/application/src/Api/Manager.php:269
[04-Aug-2021 12:39:43 UTC] PHP  26. array_map($callback = class Closure { public $static = ['adapter' => class Omeka\Api\Adapter\PropertyAdapter { ... }, 'request' => class Omeka\Api\Request { ... }]; public $this = class Omeka\Api\Manager { protected $adapterManager = class Omeka\Api\Adapter\Manager { ... }; protected $acl = class Omeka\Permissions\Acl { ... }; protected $logger = class Laminas\Log\Logger { ... }; protected $translator = class Laminas\Mvc\I18n\Translator { ... } }; public $parameter = ['$resource' => '<required>'] }, ...$arrays = variadic()) /home/xxxxx/omeka-s/application/src/Api/Manager.php:346
[04-Aug-2021 12:39:43 UTC] PHP  27. Omeka\Api\Manager->Omeka\Api\{closure:/home/xxxxx/omeka-s/application/src/Api/Manager.php:333-343}($resource = class Omeka\Entity\Property { protected $id = 984; protected $owner = class Omeka\Entity\User { protected $id = 1; protected $email = '***'; protected $name = '***'; protected $created = class DateTime { ... }; protected $modified = class DateTime { ... }; protected $passwordHash = '***'; protected $role = 'global_admin'; protected $isActive = TRUE; protected $keys = class Doctrine\ORM\PersistentCollection { ... }; protected $sites = class Doctrine\ORM\PersistentCollection { ... }; protected $vocabularies = class Doctrine\ORM\PersistentCollection { ... }; protected $resourceClasses = class Doctrine\ORM\PersistentCollection { ... }; protected $properties = class Doctrine\ORM\PersistentCollection { ... }; protected $resourceTemplates = class Doctrine\ORM\PersistentCollection { ... } }; protected $vocabulary = class DoctrineProxies\__CG__\Omeka\Entity\Vocabulary { public $__initializer__ = NULL; public $__cloner__ = NULL; public $__isInitialized__ = TRUE; protected $id = 5; protected $owner = class Omeka\Entity\User { ... }; protected $namespaceUri = 'https://schema.org/'; protected $prefix = 'schema'; protected $label = 'Schema.org'; protected $comment = ''; protected $resourceClasses = class Doctrine\ORM\PersistentCollection { ... }; protected $properties = class Doctrine\ORM\PersistentCollection { ... } }; protected $localName = 'blogPost'; protected $label = 'blogPost'; protected $comment = 'A posting that is part of this blog.'; protected $values = class Doctrine\ORM\PersistentCollection { private $snapshot = [...]; private $owner = ...; private $association = [...]; private $em = class Doctrine\ORM\EntityManager { ... }; private $backRefFieldName = 'property'; private $typeClass = class Doctrine\ORM\Mapping\ClassMetadata { ... }; private $isDirty = FALSE; protected $collection = class Doctrine\Common\Collections\ArrayCollection { ... }; protected $initialized = FALSE } }) /home/xxxxx/omeka-s/application/src/Api/Manager.php:346
[04-Aug-2021 12:39:43 UTC] PHP  28. Omeka\Api\Adapter\PropertyAdapter->getRepresentation($data = class Omeka\Entity\Property { protected $id = 984; protected $owner = class Omeka\Entity\User { protected $id = 1; protected $email = '***'; protected $name = '***'; protected $created = class DateTime { ... }; protected $modified = class DateTime { ... }; protected $passwordHash = '***'; protected $role = 'global_admin'; protected $isActive = TRUE; protected $keys = class Doctrine\ORM\PersistentCollection { ... }; protected $sites = class Doctrine\ORM\PersistentCollection { ... }; protected $vocabularies = class Doctrine\ORM\PersistentCollection { ... }; protected $resourceClasses = class Doctrine\ORM\PersistentCollection { ... }; protected $properties = class Doctrine\ORM\PersistentCollection { ... }; protected $resourceTemplates = class Doctrine\ORM\PersistentCollection { ... } }; protected $vocabulary = class DoctrineProxies\__CG__\Omeka\Entity\Vocabulary { public $__initializer__ = NULL; public $__cloner__ = NULL; public $__isInitialized__ = TRUE; protected $id = 5; protected $owner = class Omeka\Entity\User { ... }; protected $namespaceUri = 'https://schema.org/'; protected $prefix = 'schema'; protected $label = 'Schema.org'; protected $comment = ''; protected $resourceClasses = class Doctrine\ORM\PersistentCollection { ... }; protected $properties = class Doctrine\ORM\PersistentCollection { ... } }; protected $localName = 'blogPost'; protected $label = 'blogPost'; protected $comment = 'A posting that is part of this blog.'; protected $values = class Doctrine\ORM\PersistentCollection { private $snapshot = [...]; private $owner = ...; private $association = [...]; private $em = class Doctrine\ORM\EntityManager { ... }; private $backRefFieldName = 'property'; private $typeClass = class Doctrine\ORM\Mapping\ClassMetadata { ... }; private $isDirty = FALSE; protected $collection = class Doctrine\Common\Collections\ArrayCollection { ... }; protected $initialized = FALSE } }) /home/xxxxx/omeka-s/application/src/Api/Manager.php:341
@sinanatra
Copy link
Owner

Until now i tried with dublin core, skos, foaf, and CIDOC-CRM and i did not have any problems. The 625 classes might become problematic when choosing the class in the resource template. I will think of a solution. Are you planning to use CIDOC-CRM ? else the module might not be helpful for you.

If so, i might try to limit the vocabularies to which the module can be adapted to ( e.g. it will only parse the classes of CIDOC, dc, skos... )

@coret
Copy link
Author

coret commented Aug 4, 2021

As an experiment I am trying to make a resource template for datasets, which is based on https://schema.org/Dataset
A dataset has zero or more distributions of type https://schema.org/DataDownload. The standard Omeka-S way is to define the separate distributions and to link these in the dataset as Omeka-objects (see for example https://www.goudatijdmachine.nl/data/api/items/145). I hope to make this easier in terms of input and better in terms of JSON-LD output (less flat) with the NestedDataType (as suggested by @Daniel-KM).

So I guess it would help if I'd shrink the schema.org vocabulary (to include only those classes I use at the moment)?

@sinanatra
Copy link
Owner

I am closing this as I am still unable to reproduce it. Please don't hesitate to reopen if the issue still occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants