Greetings,
Using the Collecting Module, we added some forms (5 forms). When we added a 6th form and then decided we didn’t need it, we deleted it. Now we see this error (below) every time we click the Contribute link. So it seems like it is still looking for the deleted form (id: 6) or the deleted form’s data? When we add another dummy form (as a test) the error goes away. Was trying to see how the PHP code/MySQL tables are l linked together but it is not obvious. We can add a 6th form and not make it visible as a workaround but it seems like maybe it’s a slight bug in the code.
Any guidance would be appreciated.
Thanks much!
Steve
Here is the error:
Omeka S encountered an error
Omeka\Api\Exception\NotFoundException
Collecting\Entity\CollectingForm entity with criteria {“id”:“6”} not found
Details:
exception ‘Omeka\Api\Exception\NotFoundException’ with message ‘Collecting\Entity\CollectingForm entity with criteria {“id”:“6”} not found’ in /home/git_pulls/omeka-s/application/src/Api/Adapter/AbstractEntityAdapter.php:631 Stack trace: #0 /home/git_pulls/omeka-s/application/src/Api/Adapter/AbstractEntityAdapter.php(347): Omeka\Api\Adapter\AbstractEntityAdapter->findEntity(‘6’, Object(Omeka\Api\Request)) #1 /home/git_pulls/omeka-s/application/src/Api/Manager.php(230): Omeka\Api\Adapter\AbstractEntityAdapter->read(Object(Omeka\Api\Request)) #2 /home/git_pulls/omeka-s/application/src/Api/Manager.php(115): Omeka\Api\Manager->execute(Object(Omeka\Api\Request)) #3 /home/git_pulls/omeka-s/application/src/View/Helper/Api.php(69): Omeka\Api\Manager->read(‘collecting_form…’, ‘6’, Array) #4 /home/git_pulls/omeka-s/modules/Collecting/src/Site/BlockLayout/Collecting.php(54): Omeka\View\Helper\Api->read(‘collecting_form…’, ‘6’) #5 /home/git_pulls/omeka-s/application/src/View/Helper/BlockLayout.php(124): Collecting\Site\BlockLayout\Collecting->render(Object(Zend\View\Renderer\PhpRenderer), Object(Omeka\Api\Representation\SitePageBlockRepresentation)) #6 /home/git_pulls/omeka-s/application/view/omeka/site/page/content.phtml(9): Omeka\View\Helper\BlockLayout->render(Object(Omeka\Api\Representation\SitePageBlockRepresentation)) #7 /home/git_pulls/omeka-s/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(506): include(’/home/git_pulls…’) #8 /home/git_pulls/omeka-s/vendor/zendframework/zend-view/src/View.php(207): Zend\View\Renderer\PhpRenderer->render(Object(Zend\View\Model\ViewModel)) #9 /home/git_pulls/omeka-s/vendor/zendframework/zend-view/src/View.php(236): Zend\View\View->render(Object(Zend\View\Model\ViewModel)) #10 /home/git_pulls/omeka-s/vendor/zendframework/zend-view/src/View.php(200): Zend\View\View->renderChildren(Object(Zend\View\Model\ViewModel)) #11 /home/git_pulls/omeka-s/vendor/zendframework/zend-view/src/View.php(236): Zend\View\View->render(Object(Zend\View\Model\ViewModel)) #12 /home/git_pulls/omeka-s/vendor/zendframework/zend-view/src/View.php(200): Zend\View\View->renderChildren(Object(Zend\View\Model\ViewModel)) #13 /home/git_pulls/omeka-s/vendor/zendframework/zend-mvc/src/View/Http/DefaultRenderingStrategy.php(105): Zend\View\View->render(Object(Zend\View\Model\ViewModel)) #14 /home/git_pulls/omeka-s/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\View\Http\DefaultRenderingStrategy->render(Object(Zend\Mvc\MvcEvent)) #15 /home/git_pulls/omeka-s/vendor/zendframework/zend-eventmanager/src/EventManager.php(171): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent)) #16 /home/git_pulls/omeka-s/vendor/zendframework/zend-mvc/src/Application.php(367): Zend\EventManager\EventManager->triggerEvent(Object(Zend\Mvc\MvcEvent)) #17 /home/git_pulls/omeka-s/vendor/zendframework/zend-mvc/src/Application.php(348): Zend\Mvc\Application->completeRequest(Object(Zend\Mvc\MvcEvent)) #18 /home/git_pulls/omeka-s/index.php(21): Zend\Mvc\Application->run() #19 {main}
Powered by Omeka S