ECA Render: Action "Render: unserialize" throws PHP warnings
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3561958. -->
Reported by: [mxh](https://www.drupal.org/user/1124384)
Related to !576
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Whenever a configured action "Render: unserialize" is executed, following warning is logged:</p>
<pre>Warning: Undefined array key "use_yaml" in Drupal\eca_render\Plugin\Action\Build->access() (line 55 of /web/modules/contrib/eca/modules/render/src/Plugin/Action/Build.php)<br>#0 /web/core/includes/bootstrap.inc(166): _drupal_error_handler_real(2, 'Undefined array...', '...', 55)<br>#1 /web/modules/contrib/eca/modules/render/src/Plugin/Action/Build.php(55): _drupal_error_handler(2, 'Undefined array...', '...', 55)<br>#2 /web/modules/contrib/eca/src/Entity/Objects/EcaAction.php(103): Drupal\eca_render\Plugin\Action\Build->access(NULL, NULL, true)<br>#3 /web/modules/contrib/eca/src/Processor.php(298): Drupal\eca\Entity\Objects\EcaAction->execute(Object(Drupal\eca\Entity\Objects\EcaAction), Object(Drupal\eca_form\Event\FormBuild), Array)<br>#4 /web/modules/contrib/eca/src/Processor.php(300): Drupal\eca\Processor->executeSuccessors(Object(Drupal\eca\Entity\Eca), Object(Drupal\eca\Entity\Objects\EcaAction), Object(Drupal\eca_form\Event\FormBuild), Array)<br>#5 /web/modules/contrib/eca/src/Processor.php(222): Drupal\eca\Processor->executeSuccessors(Object(Drupal\eca\Entity\Eca), Object(Drupal\eca\Entity\Objects\EcaEvent), Object(Drupal\eca_form\Event\FormBuild), Array)<br>...</pre><p>This is happening in ECA 2.1.x.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue