A machine-readable guide to this site for AI agents and language models is available at/llms.txt(https://dev.acquia.com/llms.txt on the production site).
Content Hub null value during export | Content Hub | Acquia Product Documentation
Content Hub
Content Hub null value during export
Content Hub null value during export
Date Published: February 24, 2022
Issue
Content is exporting in my Production site, but not in my non-Production sites.
Error 1: Entity configuration settings in non-production site are unselected and reverting back to an unselected state when settings are saved.
Error 2: Manually running the queue passes a null value
drush queue-run acquia_contenthub_export_queue --items-limit=3 --uri=mysite.test-mysubscription.acsitefactory.com
TypeError: Argument 1 passed to Drupal\acquia_contenthub\EntityManager::isEligibleEntity() must implement interface Drupal\Core\Entity\EntityInterface, null given, called in /mnt/www/html/mysubscription01test/docroot/modules/contrib/acquia_contenthub/src/Plugin/QueueWorker/ContentHubExportQueueBase.php on line 133 in Drupal\acquia_contenthub\EntityManager->isEligibleEntity() (line 513 of /mnt/www/html/mysubscription01test/docroot/modules/contrib/acquia_contenthub/src/EntityManager.php) #0
Resolution
Ensure that there are no hooks that are overriding the entity configurations.
Checking acquia_contenthub.entity.node to see if something is overriding the database, we can see that when --include-overridden is added, bundles comes back as false, where as the database comes back with an array