Title: Deep debug on errors&#8230;
Last modified: August 30, 2016

---

# Deep debug on errors…

 *  [AlpDmr](https://wordpress.org/support/users/alpdmr/)
 * (@alpdmr)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/deep-debug-on-errors/)
 * Hi all, i would like to learn that, is it possible to get executed script when
   debugging is on?
    I mean, when i enable debugging on WordPress there are some
   warning like; `"PHP Notice: wp_register_script was called incorrectly. Scripts
   and styles should not be registered or enqueued until the wp_enqueue_scripts,
   admin_enqueue_scripts, or login_enqueue_scripts hooks..... /wp-includes/functions.
   php on line 3622"`etc but how can i learn which plugin/theme function called 
   this? Which code part trigged this error? Is there any way to learn the source
   file (function). Thanks…

The topic ‘Deep debug on errors…’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [AlpDmr](https://wordpress.org/support/users/alpdmr/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/deep-debug-on-errors/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
