Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #317884
    mattbuilt1
    Participant

    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!

    #317887
    tikaram
    Keymaster

    @mattbuilt1 :  I will check for the issue and try to replicate the issue at my end and let you know soon.

    Regards,
    Tikaram

    #317976
    mattbuilt1
    Participant

    @tikaram : I was able to recover most of our work by reverting back the global styles.  Initially I couldn’t get into the styles section to do this because all pages in the editor just churned.  However, I found that the 404 template would eventually load and allow access to the styles editor.   Still not sure exactly what within the styles is incompatible with the theme.

    #317999
    tikaram
    Keymaster

    @mattbuilt1 : I am unable to replicate the issues as mentioned. It is working fine at my end. Can you please try disabling Gutenberg and all other plugins for testing purpose and check your site again.

    Regards,
    Tikaram

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Undefined array key “styleVariations” in class-wp-theme-json-gutenberg.php’ is closed to new replies.