CKEditor Plugin Base Throws LogicException on Acquia Cloud
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3525319. -->
Reported by: [saxenaakansha30](https://www.drupal.org/user/3539327)
Related to !625
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>When using the AI CKEditor integration on Acquia Cloud, an error is triggered during response generation due to serialization of an object referencing the Settings object indirectly via the LoggerChannelInterface.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<ol>
<li>Enable the ai_ckeditor module.</li>
<li>Add “Generate with AI” plugin to a CKEditor text format.</li>
<li>Use this text format in any entity form (e.g., node or block).</li>
<li>Click the Generate button in the CKEditor plugin’s modal form.</li>
<li>The error should occur at this point: <b>LogicException: Settings cannot be serialized.</b></li>
</ol>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Replace the LoggerChannelInterface dependency with LoggerChannelFactoryInterface and reflect the update to all the plugin instances.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue