Fatal error after adding AI button to CKEditor toolbar

Created on 5 November 2024, 5 months ago

Problem/Motivation

Doesn't seem to be working with latest Drupal 11 and

Steps to reproduce

Created a base Drupal 11 site and endabled Core AI module and this module. Added the AI button to the Drupal toolbar.

The button didn't appear, when I went back to the CKEditor configurator this error message appeared:

Fatal error: Declaration of Drupal\ai_summarize_document\Plugin\AiCKEditor\SummarizeDocument::buildCkEditorModalForm(array $form, Drupal\Core\Form\FormStateInterface $form_state) must be compatible with Drupal\ai_ckeditor\AiCKEditorPluginBase::buildCkEditorModalForm(array $form, Drupal\Core\Form\FormStateInterface $form_state, array $settings = []) in /code/web/modules/contrib/ai_summarize_document/src/Plugin/AiCKEditor/SummarizeDocument.php on line 123

On URL:
/admin/config/content/formats/manage/basic_html

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom johnennew

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