Hello,
Reinstalling the plugin does not resolve the issue. I doubt that there is a permissions issue because I can install one script, such as
<script type="text/javascript">console.log("testA")</script>
Even though I cannot install two scripts, such as
<script type="text/javascript">console.log("testA")</script>
<script type="text/javascript">console.log("testB")</script>
I have found that this issue applies not only to the Header and Footer Scripts plugin. I have tried the following techniques, and all produce an error:
* Plugin Header and Footer Scripts
* Plugin Insert Headers and Footers
* Theme Customizer (Appearance -> Customize -> Theme Settings -> Header/Footer Scripts
* Editing the theme’s functions.php using Appearance -> Theme Editor as follows:
add_action('wp_head', 'your_function_name0');
function your_function_name0(){
?>
<script type="text/javascript">console.log("your_function_0");</script>
<script type="text/javascript">console.log("your_function_1");</script>
<?php
};