Title: Debug notices
Last modified: August 20, 2016

---

# Debug notices

 *  Resolved [halasy](https://wordpress.org/support/users/halasy/)
 * (@halasy)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/debug-notices/)
 * Hi there, thanks for a very useful plugin!
 * When I have debug turned on, I get a couple of notices:
 * NOTICE: C:\wamp\www\www.theguitarlesson.com\wp-content\plugins\widget-logic\widget_logic.
   php(284) : eval()’d code:1 – Undefined variable: post
 * NOTICE: C:\wamp\www\www.theguitarlesson.com\wp-content\plugins\widget-logic\widget_logic.
   php(284) : eval()’d code:1 – Trying to get property of non-object
 * My server setup is:
    PHP 5.3.13 MySQL 5.5.24
 * It’s not causing any visible errors, just thought I’d let you know.
 * best,
    Tom
 * [http://wordpress.org/extend/plugins/widget-logic/](http://wordpress.org/extend/plugins/widget-logic/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/debug-notices/#post-3627890)
 * the “(284): eval()’d code” bit points to the problem being in the logic of one
   or more of your widgets. Check for logic using $post, without a “global $post;”
   at the start – which would explain both errors
 *  Thread Starter [halasy](https://wordpress.org/support/users/halasy/)
 * (@halasy)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/debug-notices/#post-3627896)
 * Yep, that was it, thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Debug notices’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/widget-logic_c8dde5.svg)
 * [Widget Logic](https://wordpress.org/plugins/widget-logic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/widget-logic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/widget-logic/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-logic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-logic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-logic/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [halasy](https://wordpress.org/support/users/halasy/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/debug-notices/#post-3627896)
 * Status: resolved