CKEditor Plugin Base Throws LogicException on Acquia Cloud – Replace LoggerChannelInterface with LoggerChannelFactoryInterface

Created on 19 May 2025, 16 days ago

Problem/Motivation

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.

Steps to reproduce

  1. Enable the ai_ckeditor module.
  2. Add “Generate with AI” plugin to a CKEditor text format.
  3. Use this text format in any entity form (e.g., node or block).
  4. Click the Generate button in the CKEditor plugin’s modal form.
  5. The error should occur at this point:

Proposed resolution

Replace the LoggerChannelInterface dependency with LoggerChannelFactoryInterface and reflect the update to all the plugin instances.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.1

Component

AI CKEditor

Created by

🇮🇳India saxenaakansha30 New Delhi, India

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024