# Control type "Toggle" - error in Gutenberg Block when toggled off again

**URL:** <https://forum.pinegrow.com/t/control-type-toggle-error-in-gutenberg-block-when-toggled-off-again/8015>\
**Category:** WordPress\
**Tags:** bug\
**Created:** [May 9, 2023, 11:21am UTC](https://forum.pinegrow.com/t/control-type-toggle-error-in-gutenberg-block-when-toggled-off-again/8015 "2023-05-09T11:21:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichelyWeb](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/michelyweb/32/6652_2.png) [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Post date:** [May 9, 2023, 11:21am UTC](https://forum.pinegrow.com/t/control-type-toggle-error-in-gutenberg-block-when-toggled-off-again/8015/1 "2023-05-09T11:21:31Z")

</div>

When toggle on and back off the following error occurs in GB:  
`Error loading block: Invalid parameter(s): attributes`

 ![CleanShot 2023-05-09 at 13.15.11@2x](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/7/7df62e29faaf728dea9b6a8f0aad27b51940d816.jpeg)

Toggle Contol:

 ![CleanShot 2023-05-09 at 13.15.46@2x](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/e/edbdeb71a812f723cc245e81f455e6e63954c0f4.png)

Config in Pinegrow:

 ![CleanShot 2023-05-09 at 13.16.22@2x](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/4/498580dd00c9a157380bb8b41cc5576c9a4c79f1.png)

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [May 10, 2023, 6:28am UTC](https://forum.pinegrow.com/t/control-type-toggle-error-in-gutenberg-block-when-toggled-off-again/8015/2 "2023-05-10T06:28:33Z")

</div>

@MichelyWeb thank you for reporting this. It is fixed now, will be out soon in the next update.
