I am encountering an issue when trying to configure this module.

Steps Reproduce:

1. Installed the enabled module using Composer with the command: composer require 'drupal/chatgpt_plugin:^2.1'.

2: Go to /admin/config/chatgpt, it throws a warning, the warning mentioned below.

Warning: foreach() argument must be of type array|object, null given in Drupal\Core\Render\Element\Checkboxes::valueCallback() (line 113 of core\lib\Drupal\Core\Render\Element\Checkboxes.php).

I've attached an image illustrating my actions—installing the module and searching within the extended panel.

CommentFileSizeAuthor
#2 chatgpt.patch626 bytesaman_lnwebworks
chatgpt plugin.png114.92 KBaman_lnwebworks
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

    Comments

    aman_lnwebworks created an issue. See original summary.

    aman_lnwebworks’s picture

    StatusFileSize
    new626 bytes

    here is the patch for above issue

    snsblvd’s picture

    same error with the drupal/chatgpt_plugin (2.1.5) release (under drupal 11), but only first-time when your config page is empty.