Cannot Add Two Scripts



  • I am trying to add two scripts to the header of my site using plugin "Header and Footer Scripts". My site is https://theawesomemuse.com/

    I am able to add either of the two scripts, but I cannot add both. When I try to do so, I receive a 500 error.

    I am trying to add the scripts like this:

    <script src = …></script>
    <script type = "text/javascript" ...>
        [script content]
    </script>
    

    Even the following attempt produces a 500 error:

    <script type="text/javascript">console.log("testA")</script>
    <script type="text/javascript">console.log("testB")</script>
    

    How can I add both scripts to the header?



  • Hello,

    I couldn't reproduce the issue. Please try reinstalling the plugin and let me know if it doesn't fix the issue. If it's file permission issue it will be fixed.

    Or May be it's a theme or plugin conflict. Also, could you share the exact js code you are trying to insert.

    PS: I can't fix the issue if it can't be reproduced on my system.




  • Banned

    This post is deleted!