• Resolved helpmelearnwp

    (@helpmelearnwp)


    I tried inserting a script for a chatbot to be embedded on my website, but I’m getting errors using Global Header & Footer.

    The errors are as follows:
    [errors] Expected BRACE at line 3, col 3.
    [errors] Expected BRACE at line 4, col 3.
    [errors] Expected BRACE at line 5, col 3.

    Coding is not my strong suit, but I am trying to learn. Why is this happening? As far as I know, Dialogflow uses custom CSS to change the look of their chatbots, and that is the format that they’re meant to be in.

    I’ve also tried adding the very same code using a “Universal Snippet” through the plugin, and it works fine.

Viewing 1 replies (of 1 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @helpmelearnwp,

    Thank you for the screenshot, from what I can see, the code you are using there is overriding some CSS variables and the code editor syntax validator doesn’t support variables yet. I made a note to look into adding better support in a future release.

    Regardless of that, your code should work as intended as far as I can see.

Viewing 1 replies (of 1 total)
  • The topic ‘Error while Inserting Code’ is closed to new replies.