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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | chatgpt.patch | 626 bytes | aman_lnwebworks |
| chatgpt plugin.png | 114.92 KB | aman_lnwebworks |
Issue fork chatgpt_plugin-3416931
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
Comment #2
aman_lnwebworks commentedhere is the patch for above issue
Comment #3
snsblvd commentedsame error with the drupal/chatgpt_plugin (2.1.5) release (under drupal 11), but only first-time when your config page is empty.