Undefined array key “styleVariations” in class-wp-theme-json-gutenberg.php
Today the editor stopped loading any templates. These two warnings now show up:
<b>Warning</b>: Trying to access array offset on value of type null in ...<b>\wp-content\plugins\gutenberg\lib\class-wp-theme-json-gutenberg.php</b> on line <b>2227</b>
<b>Warning</b>: Undefined array key "styleVariations" in ...<b>\wp-content\plugins\gutenberg\lib\class-wp-theme-json-gutenberg.php</b> on line <b>2227</b>
The last task done before this happened was in the editor > global styles sidebar, changing the style of the add-to-cart button block. Since then we have tried reinstalling WP, uninstalling & reinstalling Gutenberg, and uninstalling & reinstalling LaVenta. Somehow, the problem persists. Are there certain aspects of the editor that shouldn't be used with LaVenta? Any insight would be super helpful!