I have tested this locally and the graph in a block loaded each time on page load.
Tested the patch and did not work as intended.
Returns no term fields.
Tried to apply the patch and it did not work
error: patch failed: src/WebformAnalysis.php:29
error: src/WebformAnalysis.php: patch does not apply
This issue is caused by the patch for issue 3124167 📌 Provide an accessible variant Needs review
I have created a updated on the patch that fixes this issue and is available on 3124167 #30 📌 Provide an accessible variant Needs review
I have updated the patch #22 to fix the issues on issue 3368096 🐛 Every page view generates 10-20 warnings per accordion Active
I am also getting this error on version 2.0.3 where we have content with xml language tags.
Warning: DOMDocument::loadHTML(): Attribute xml:lang redefined in Entity, line: 1 in ckeditor_accordion/src/Plugin/Filter/CKEditorAccordion.php on line 61
I have tried the fix from @emptyvoid and it resolves the issue.
Updated from line 59 to 64:
// Load the text into a dom object.
$dom = new \DOMDocument();
libxml_use_internal_errors(true);
$dom->loadHTML(mb_convert_encoding($text, 'HTML-ENTITIES', 'UTF-8'));
libxml_clear_errors();
$xpath = new \DOMXPath($dom);