• I do not have very much experience (at all) with Javascript and have never manually edited any of it on my WordPress site, locavoreatyourdoor.com – I changed debug mode to “true” and received these notices:

    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 login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /homepages/9/d281194335/htdocs/LAYD/wp-includes/functions.php on line 3942

    Notice: wp_enqueue_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 /homepages/9/d281194335/htdocs/LAYD/wp-includes/functions.php on line 3942

    Notice: Trying to get property of non-object in /homepages/9/d281194335/htdocs/LAYD/wp-content/plugins/woocommerce-predictive-search/classes/class-wc-predictive-search-functions.php on line 310

    Notice: wp_woocommerce_session_567cb3e1b5e26dbc71090e0becd65462 cookie cannot be set – headers already sent by /homepages/9/d281194335/htdocs/LAYD/wp-includes/functions.php on line 3942 in /homepages/9/d281194335/htdocs/LAYD/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 733

    Thank you in advance for any help on how to fix this!!

Viewing 1 replies (of 1 total)
  • It doesn’t look like an issue with javascript itself, just the way it’s being called. You’ll have to check how you’re loading it in functions.php and check if any plugin you have recently installed might be causing some conflicts.

    ~ Steven

Viewing 1 replies (of 1 total)
  • The topic ‘Javascript debugging’ is closed to new replies.