Title: Can&#8217;t create Header code
Last modified: November 25, 2024

---

# Can’t create Header code

 *  Resolved [yk9nz](https://wordpress.org/support/users/yk9nz/)
 * (@yk9nz)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/cant-create-header-code/)
 * Hi, I’m trying to create a header code but I keep getting errors. Can someone
   please help? This is the code:
 *     ```wp-block-code
       <script type="text/javascript" async="async" data-noptimize="1" data-cfasync="false" src="//scripts.scriptwrapper.com/tags/fa551c33-12c3-000b-9999-56f8a0f202f0.js"></script>
       ```
   
 * Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [WP Extended](https://wordpress.org/support/users/wpextended/)
 * (@wpextended)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/cant-create-header-code/#post-18158979)
 * Hi [@yk9nz](https://wordpress.org/support/users/yk9nz/)
 * Are you able to give us some more information in regards to the specific error
   you are facing which should allow us to determine the problem you are encountering.
 * Thanks
 * WP Extended
 *  Thread Starter [yk9nz](https://wordpress.org/support/users/yk9nz/)
 * (@yk9nz)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/cant-create-header-code/#post-18159553)
 * There is a default “<script>” that can’t be removed, which I think is causing
   all the errors.
 * The errors are as follows:
    1.  Expected an identifier but instead saw ‘<‘
    2.  Expected an assignment or function call but instead saw an expression.
    3.  Missing semicolon.
    4.  Expected an assignment or function call but instead saw an expression
    5.  Expected an operator but instead saw ‘async’.
    6.  Bad assignment.
    7.  Missing semicolon.
    8.  Bad assignment.
    9.  Missing semicolon.
    10. Unclosed regular expression.
    11. Unrecoverable syntax error (50% scanned).
 * Can you please help? Thanks!
 *  Plugin Author [WP Extended](https://wordpress.org/support/users/wpextended/)
 * (@wpextended)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/cant-create-header-code/#post-18161206)
 * [@yk9nz](https://wordpress.org/support/users/yk9nz/)
 * Thank you for sharing the issue you face. We will address the issue for you, 
   could you please email [support@wpextended.io](https://wordpress.org/support/topic/cant-create-header-code/support@wpextended.io?output_format=md)
   so we can assist you directly?
 * Thanks
 * WP Extended

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Can’t create Header code’ is closed to new replies.

 * ![](https://ps.w.org/wpextended/assets/icon-256x256.png?rev=2922737)
 * [WP Extended - The Ultimate WordPress Toolkit](https://wordpress.org/plugins/wpextended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpextended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpextended/)
 * [Active Topics](https://wordpress.org/support/plugin/wpextended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpextended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpextended/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [WP Extended](https://wordpress.org/support/users/wpextended/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/cant-create-header-code/#post-18161206)
 * Status: resolved