"A plugin by the name "internal" was not found in the plugin manager "

Hi, another issue I have is with the CSVimport module - I get the following errors, after updating the modules. My omeka-s operates on a reclaimhosting server, the last version was automatically updates but not the modules.
1/ " A plugin by the name “internal” was not found in the plugin manager"
2/ and error of the sort: " * A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272d0000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement "

Thanks in advance,
Yael

Log:

2020-11-15T11:49:37+00:00 ERR (3): Laminas\ServiceManager\Exception\ServiceNotFoundException: A plugin by the name “internal” was not found in the plugin manager Search\Adapter\Manager in /home/evaanita/omeka/vendor/laminas/laminas-servicemanager/src/AbstractPluginManager.php:143
Stack trace:
#0 /home/evaanita/omeka/modules/Search/src/Api/Representation/SearchIndexRepresentation.php(78): Laminas\ServiceManager\AbstractPluginManager->get(‘internal’)
#1 /home/evaanita/omeka/modules/Search/src/Api/Representation/SearchIndexRepresentation.php(110): Search\Api\Representation\SearchIndexRepresentation->adapter()
#2 /home/evaanita/omeka/modules/Search/Module.php(181): Search\Api\Representation\SearchIndexRepresentation->indexer()
#3 /home/evaanita/omeka/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Search\Module->updateSearchIndex(Object(Laminas\EventManager\Event))
#4 /home/evaanita/omeka/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\EventManager\Event))
#5 /home/evaanita/omeka/application/src/Api/Manager.php(323): Laminas\EventManager\EventManager->triggerEvent(Object(Laminas\EventManager\Event))
#6 /home/evaanita/omeka/application/src/Api/Manager.php(269): Omeka\Api\Manager->finalize(Object(Omeka\Api\Adapter\ItemAdapter), Object(Omeka\Api\Request), Object(Omeka\Api\Response))
#7 /home/evaanita/omeka/application/src/Api/Manager.php(136): Omeka\Api\Manager->execute(Object(Omeka\Api\Request))
#8 /home/evaanita/omeka/modules/CSVImport/src/Job/Import.php(796): Omeka\Api\Manager->update(‘items’, ‘2935’, Array, Array, Array)
#9 /home/evaanita/omeka/modules/CSVImport/src/Job/Import.php(427): CSVImport\Job\Import->updateRevise(‘items’, ‘2935’, Array, ‘update’)
#10 /home/evaanita/omeka/modules/CSVImport/src/Job/Import.php(296): CSVImport\Job\Import->update(Array, Array, ‘update’)
#11 /home/evaanita/omeka/modules/CSVImport/src/Job/Import.php(194): CSVImport\Job\Import->processBatchData(Array)
#12 /home/evaanita/omeka/application/src/Job/DispatchStrategy/Synchronous.php(34): CSVImport\Job\Import->perform()
#13 /home/evaanita/omeka/modules/Log/src/Job/Dispatcher.php(32): Omeka\Job\DispatchStrategy\Synchronous->send(Object(Omeka\Entity\Job))
#14 /home/evaanita/omeka/application/data/scripts/perform-job.php(44): Log\Job\Dispatcher->send(Object(Omeka\Entity\Job), Object(Log\Job\DispatchStrategy\Synchronous))
#15 {main} {“userId”:2,“jobId”:233}
2020-11-15T11:49:37+00:00 ERR (3):

2020-11-15T11:49:47+00:00 NOTICE (5): None of the 20 items were updated (update). {“userId”:2,“jobId”:233}
2020-11-15T11:50:52+00:00 ERR (3): Doctrine\ORM\ORMInvalidArgumentException: Multiple non-persisted new entities were found through the given association graph:

  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272d0000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272d6000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272d4000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272da000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272d8000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272de000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272dc000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272e2000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272e0000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272e6000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272e4000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272ea000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272e8000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272ee000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272ec000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272f2000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272f0000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: DoctrineProxies_CG_\Omeka\Entity\Property@0000000037c272f6000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: Omeka\Entity\Property@0000000037c27dcd000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: Omeka\Entity\Property@0000000037c27fd8000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue.
  • A new entity was found through the relationship ‘Omeka\Entity\ResourceTemplateProperty#property’ that was not configured to cascade persist operations for entity: Omeka\Entity\Property@0000000037c27e65000000004fbc5a33. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). If you cannot find out which entity causes the problem implement ‘Omeka\Entity\Property#__toString()’ to get a clue. in /home/evaanita/omeka/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:105
    Stack trace:
    #0 /home/evaanita/omeka/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(3460): Doctrine\ORM\ORMInvalidArgumentException::newEntitiesFoundThroughRelationships(Array)
    #1 /home/evaanita/omeka/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(365): Doctrine\ORM\UnitOfWork->assertThatThereAreNoUnintentionallyNonPersistedAssociations()
    #2 /home/evaanita/omeka/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(368): Doctrine\ORM\UnitOfWork->commit(NULL)
    #3 /home/evaanita/omeka/application/src/Api/Adapter/AbstractEntityAdapter.php(376): Doctrine\ORM\EntityManager->flush()
    #4 /home/evaanita/omeka/application/src/Api/Manager.php(227): Omeka\Api\Adapter\AbstractEntityAdapter->batchCreate(Object(Omeka\Api\Request))
    #5 /home/evaanita/omeka/application/src/Api/Manager.php(97): Omeka\Api\Manager->execute(Object(Omeka\Api\Request))
    #6 /home/evaanita/omeka/modules/CSVImport/src/Job/Import.php(355): Omeka\Api\Manager->batchCreate(‘items’, Array, Array, Array)
    #7 /home/evaanita/omeka/modules/CSVImport/src/Job/Import.php(275): CSVImport\Job\Import->create(Array)
    #8 /home/evaanita/omeka/modules/CSVImport/src/Job/Import.php(194): CSVImport\Job\Import->processBatchData(Array)
    #9 /home/evaanita/omeka/application/src/Job/DispatchStrategy/Synchronous.php(34): CSVImport\Job\Import->perform()
    #10 /home/evaanita/omeka/modules/Log/src/Job/Dispatcher.php(32): Omeka\Job\DispatchStrategy\Synchronous->send(Object(Omeka\Entity\Job))
    #11 /home/evaanita/omeka/application/data/scripts/perform-job.php(44): Log\Job\Dispatcher->send(Object(Omeka\Entity\Job), Object(Log\Job\DispatchStrategy\Synchronous))
    #12 {main} {“userId”:2,“jobId”:233}

The “internal” error seems to be related to the module Search. Does disabling Search affect one or both of these errors you’re seeing?

Thanks for your reply,
We’ve disabled the Search module and it partially helped, we then uninstalled a few other modules that are not in use.
It seems that we can now create new items using csvimport but not update existing ones. In any case, the system is a bit messy since we have for a few modules the error message “Error: module in database but not in filesystem”

Thanks,
Yael

For module Search, try to use the last version, it seems to be an old issue that was fixed.

1 Like

Furthermore, the next version of Omeka will fix possible last issues (https://github.com/omeka/omeka-s/issues/1690) when you use a template.

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.