Title: Function wp_enqueue_script was called incorrectly
Last modified: April 11, 2024

---

# Function wp_enqueue_script was called incorrectly

 *  Resolved [shineexpress](https://wordpress.org/support/users/shineexpress/)
 * (@shineexpress)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/function-wp_enqueue_script-was-called-incorrectly-7/)
 * Sorry, I am new to creating website and I took a chance on WordPress. The site
   has been running for a while now. I am currently working on revamping the whole
   site and adding more pages so I have it on “Under Construction” yesterday.
 * Today, I noticed this error when I logged in to start the project.
 * **Notice** for more information. (This message was added in version 3.3.0.) in**/
   home4/shinelen/public_html/wp-includes/functions.php** on line **6078**
 * **Warning**: Cannot modify header information – headers already sent by (output
   started at /home4/shinelen/public_html/wp-includes/functions.php:6078) in **/
   home4/shinelen/public_html/wp-admin/includes/misc.php** on line **1439**
 * **Warning**: Cannot modify header information – headers already sent by (output
   started at /home4/shinelen/public_html/wp-includes/functions.php:6078) in **/
   home4/shinelen/public_html/wp-includes/functions.php** on line **7096**
 * **Warning**: Cannot modify header information – headers already sent by (output
   started at /home4/shinelen/public_html/wp-includes/functions.php:6078) in **/
   home4/shinelen/public_html/wp-admin/admin-header.php** on line **9**
 * Again, I am new. I do appreciate the help and NO, I don’t have any coding experience,
   just a brave gal trying to learn. Thank you in advance!

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

 *  [Jamie](https://wordpress.org/support/users/codente/)
 * (@codente)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/function-wp_enqueue_script-was-called-incorrectly-7/#post-17681153)
 * Congrats on your first site and learning something new!
 * This may be a plugin or theme conflict. Please attempt to disable all plugins,
   and use one of the default (Twenty*) themes. If the problem goes away, enable
   them one by one to identify the source of your troubles.
 * If you can install plugins, install and activate “Health Check”: [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)
   
   It will add some additional features under the menu item under Tools > Site Health.
   On its troubleshooting tab, you can Enable Troubleshooting Mode. This will disable
   all plugins, switch to a standard WordPress theme (if available), allow you to
   turn your plugins on and off and switch between themes, **without affecting normal
   visitors to your site**. This allows you to test for various compatibility issues.
   There’s a more detailed description about how to use the Health Check plugin 
   and its Troubleshooting Mode at [https://make.wordpress.org/support/handbook/appendix/troubleshooting-using-the-health-check/](https://make.wordpress.org/support/handbook/appendix/troubleshooting-using-the-health-check/)
 *  Thread Starter [shineexpress](https://wordpress.org/support/users/shineexpress/)
 * (@shineexpress)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/function-wp_enqueue_script-was-called-incorrectly-7/#post-17682635)
 * Thank you for the help! _I started from deactivating the latest installed plugins
   and like magic the errors are gone, didn’t even have to switch the theme. _Thanks
   a bunch!
 *  [Jamie](https://wordpress.org/support/users/codente/)
 * (@codente)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/function-wp_enqueue_script-was-called-incorrectly-7/#post-17684349)
 * That’s great to hear [@shineexpress](https://wordpress.org/support/users/shineexpress/)!

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

The topic ‘Function wp_enqueue_script was called incorrectly’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Jamie](https://wordpress.org/support/users/codente/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/function-wp_enqueue_script-was-called-incorrectly-7/#post-17684349)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
