PHP errors with WP_DEBUG enabled

Ian Dunn's Avatar

Ian Dunn

19 Sep, 2011 08:35 PM

When [WP_DEBUG|http://codex.wordpress.org/Writing_a_Plugin] is enabled the plugin generates several errors:

` Notice: Use of undefined constant putILikeThis - assumed 'putILikeThis' in /home/lougon/getmockups.com/wp-content/plugins/i-like-this/i-like-this.php on line 288

Notice: Use of undefined constant enqueueScripts - assumed 'enqueueScripts' in /home/lougon/getmockups.com/wp-content/plugins/i-like-this/i-like-this.php on line 305

Notice: Use of undefined constant addHeaderLinks - assumed 'addHeaderLinks' in /home/lougon/getmockups.com/wp-content/plugins/i-like-this/i-like-this.php on line 306

Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /home/lougon/getmockups.com/wp-includes/functions.php on line 3382

Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /home/lougon/getmockups.com/wp-includes/functions.php on line 3382

Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/lougon/getmockups.com/wp-includes/functions.php on line 3466
`

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

24 Feb, 2016 05:49 PM
30 Nov, 2013 03:31 PM
30 Nov, 2013 03:10 PM
30 Nov, 2013 11:55 AM
30 Nov, 2013 11:24 AM

Recent Articles