- Issue created by @DrupalRanger
- First commit to issue fork.
- Status changed to Needs review
over 1 year ago 3:20pm 19 March 2023 - 🇮🇳India Ranjit1032002
Created a patch for the issue mentioned, please review.
Thank You. - 🇺🇸United States DrupalRanger
Thank you for the quick update. I tried the patch on a fresh install with Read Time added to the Article content type. PHP Error remains. The process of patching core modules is highly discouraged. Is this patch just to test the error origins?
- 🇺🇸United States kevinquillen
This is not an acceptable patch, this patches core.
One workaround for now is to remove "Links" field from content displays on the Manage Display tab.
- Status changed to Needs work
over 1 year ago 9:42pm 3 April 2023 - 🇺🇸United States kevinquillen
It looks like at the time of node creation, the render service is trying to render a node but the node is not yet created:
$storage = \Drupal::entityTypeManager()->getStorage('node'); /** @var \Drupal\node\NodeInterface $revision */ $revision = !isset($revision_id) ? $storage->load($node_entity_id) : $storage->loadRevision($revision_id); $entity = $revision->getTranslation($langcode)
;
$revision is NULL, so trying to get its translation fails.
The dev version of this module has the proper fixes (its a race condition I believe). The issue is here with an updated patch for translations: 🐛 Error on adding new translation Fixed
- Status changed to Closed: duplicate
over 1 year ago 10:15pm 3 April 2023 - 🇺🇸United States kevinquillen
The dev branch will fix the immediate issue. Continuing in the other relevant issue. Closing as a duplicate of 🐛 Error on adding new translation Fixed