FWA plugin error: Call to a member function get() on array
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3538762. --> Reported by: [bisonbleu](https://www.drupal.org/user/549974) Related to !814 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>The ListInteger and Boolean fwa plugins are broken. I&rsquo;m assuming others e.g. ListFloat are also broken. Something has changed in 1.2.x-dev around July 21st, maybe AutomatorBaseAction?</p> <p>Sample error looks like this:</p> <p><code>Error: Call to a member function get() on array in Drupal\ai_automators\Plugin\FieldWidgetAction\Boolean-&gt;saveFormValues() (line 49 of /var/www/html/web/modules/contrib/ai/modules/ai_automators/src/Plugin/FieldWidgetAction/Boolean.php)</code></p> <h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4> <p>- Enable AI Automator on a boolean field;<br> - Choose AI Automator Type &raquo; LLM Boolean;<br> - Configure AI Automator Settings;<br> - Go to e.g. admin/structure/types/manage/page/form-display<br> - Configure FWA on boolean field<br> - Edit a Page node and click on the fwa button</p>
issue