- ๐ฉ๐ชGermany marc.bau
Have not seen this issueโฆ how can this reproduced?
- ๐ฎ๐ชIreland frankdesign
We use the Paragraphs โ module to create page content on our clients' websites. We then create a View of type Content that shows only the text from all the Paragraphs on a page using a Contextual Filter using Content ID. We then remove all tags from this text which merges all the text into one block of text. I then trim that text into 155 characters.
Then using Token Embed Views โ , we place that View into the Metatag Description field as the default value for each node (using the Metatag โ module). So when a content creator creates a new node, if they don't manually enter a Metatag Description, at least there is a default value which is the first 155 characters from the page.
We've been using this set-up on various versions of Drupal since D8. Currently the sites using this set up are now all on D10.3.6.
Without the patch at #2, we were intermittently getting the error above the odd time on nodes and nearly always on non node pages (like Commerce Products pages or Views pages).
Thanks for the heads up on the deprecated code. The deprecated code is still working on 10.3.6. However, I've just tested and the replacement code and that also fixes the error on 10.3.6.
- ๐ฉ๐ชGermany marc.bau
Sound really complicated to repro. Would be helpful if there is a step by step instruction that is less complicated. Also strange that it dies not happen all times.
As I cannot repro with current info - Itherefore cannot rtbc an updated patch.