Title: PHP error notices
Last modified: August 21, 2016

---

# PHP error notices

 *  [codesmith](https://wordpress.org/support/users/codesmith/)
 * (@codesmith)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-error-notices-1/)
 * Hi,
 * Getting two PHP notices with version 2.7.7
 * On every page in WP I’m getting
 * `
    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 /Applications/MAMP/htdocs/wp-includes/
   functions.php on line 3049
 * On the plugin setting page I’m getting
 * `
    Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() 
   or esc_sql() instead. in /Applications/MAMP/htdocs/wp-includes/functions.php 
   on line 2908
 * These go away when I disable the plugin so….
 * Thanks.
 * [https://wordpress.org/plugins/xhanch-my-twitter/](https://wordpress.org/plugins/xhanch-my-twitter/)

The topic ‘PHP error notices’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/xhanch-my-twitter.svg)
 * [Xhanch - My Twitter](https://wordpress.org/plugins/xhanch-my-twitter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/xhanch-my-twitter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/xhanch-my-twitter/)
 * [Active Topics](https://wordpress.org/support/plugin/xhanch-my-twitter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/xhanch-my-twitter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/xhanch-my-twitter/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [codesmith](https://wordpress.org/support/users/codesmith/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/php-error-notices-1/)
 * Status: not resolved