Warning caused by new Canvas message
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3573739. -->
Reported by: [pameeela](https://www.drupal.org/user/1431110)
Related to !807
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Drupal CMS Helper has some message filtering that can be removed when 11.4 comes out, but it assumes messages are strings, and our friends at Canvas have added a message that is not a string!</p>
<p>This creates an ugly warning when this message is displayed:</p>
<p><img src="https://www.drupal.org/files/issues/2026-02-16/Screenshot%202026-02-16%20at%204.39.36%E2%80%AFpm.png" alt=""></p>
<p><code>Warning: Array to string conversion in Drupal\drupal_cms_helper\FilteringMessenger->addMessage() (line 39 of /var/www/html/drupal_cms_helper/src/FilteringMessenger.php).</code></p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<ol>
<li>Install Drupal CMS</li>
<li>Create a new content type</li>
<li>Go to the Manage display page</li>
</ol>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>@phenaproxima will have strong opinions about this so will leave that to him :)</p>
issue