Hi, I got this error message, but I'm a bit confused as to exactly how to fix it.
Notice: wp_deregister_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. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home2/danielm8/public_html/wp-includes/functions.php on line 3049
I can go into my functions.php, but do I add the code I found below into the functions.php or do I need to fix something on line 3049? (And if it's the later, do you recommend an editor that will display the line numbers since Text Editor doesn't and that's what I use for my FTP changes?)
// Enable WP_DEBUG mode
define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define('SCRIPT_DEBUG', true);