Title: wp_enqueue_style was called incorrectly.
Last modified: August 21, 2016

---

# wp_enqueue_style was called incorrectly.

 *  [AzadehLeo](https://wordpress.org/support/users/azadehleo/)
 * (@azadehleo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/wp_enqueue_style-was-called-incorrectly/)
 * Hi guys,
 * I just updated wordpress to version 3.5.1. A second after that I got an error
   message and I can’t access my website anymore. I looked at other posts but they
   were not helpful. Can someone tell me what I should do to resolve this issue?
   Here is the error/notice I got
 * >  Notice: wp_enqueue_style was called incorrectly. Scripts and styles should
   > not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts,
   > or init hooks. Please see Debugging in WordPress for more information.
 * I’m a newbie so I would appreciate it if you give me instructions in a way that
   I can understand.
 * Cheers,
 * Azadeh

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/wp_enqueue_style-was-called-incorrectly/#post-3671924)
 * Have you tried:
 * – deactivating **all** plugins to see if this resolves the problem. If this works,
   re-activate the plugins one by one until you find the problematic plugin(s).
 * – switching to the default theme to rule out any theme-specific problems.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause
   problems.
 *  Thread Starter [AzadehLeo](https://wordpress.org/support/users/azadehleo/)
 * (@azadehleo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/wp_enqueue_style-was-called-incorrectly/#post-3671935)
 * Brilliant! You were right. One of the plugins was causing the problem.
 * Thank you very much

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

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

## Tags

 * [wp_enqueue_style()](https://wordpress.org/support/topic-tag/wp_enqueue_style/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [AzadehLeo](https://wordpress.org/support/users/azadehleo/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/wp_enqueue_style-was-called-incorrectly/#post-3671935)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
