Title: Widget Logic suddenly causing errors all over
Last modified: August 22, 2016

---

# Widget Logic suddenly causing errors all over

 *  [CMF2014](https://wordpress.org/support/users/cmf2014/)
 * (@cmf2014)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/widget-logic-suddenly-causing-errors-all-over/)
 * Hello
 * Up until now I was using widget logic without a glitch and therefore builted 
   a lot of functions to conditionnaly display tons of elements with it. However,
   since today it is going crazy, I have “Notices” appearing all over the site saying“
   Notice: Use of undefined constant wpmd_is_not_device – assumed ‘wpmd_is_not_device’
   in /xxx/xxx/www/yyyy/wp-content/plugins/widget-logic/widget_logic.php(286) : 
   eval()’d code on line 1”
 * I haven’t updated wordpress or anything really for the past month, I checked 
   the ftp folder of the widget logic php file and it shows no update since november
   3, 2014… PLEASE HELP.
 * Thank you,
 * Best,
 * Marie
 * [https://wordpress.org/plugins/widget-logic/](https://wordpress.org/plugins/widget-logic/)

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

 *  Thread Starter [CMF2014](https://wordpress.org/support/users/cmf2014/)
 * (@cmf2014)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/widget-logic-suddenly-causing-errors-all-over/#post-5694782)
 * After reading some other threads on this post where users seem to have gotten
   the same notice following up a php update on their server, I just checked my 
   php changelog and there has been no update. I have not added any new functions
   or changed any of the widget logic functions already in place since more than
   a month and everything was fine until now so there must be something else going
   on with the plugin.
 * I understand from your replies on this forum that you don’t have much time to
   allow to this plugin but please help.
 * Best
 * Marie
 *  Thread Starter [CMF2014](https://wordpress.org/support/users/cmf2014/)
 * (@cmf2014)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/widget-logic-suddenly-causing-errors-all-over/#post-5694796)
 * Ok so not sure why but a function wpmd_is_notdevice() apparently got overwritten
   or interpretedas wpmd_is_not_device() causing errors as it was no longer calling
   the right function, but as I did not change anything for the past month including
   those functions or the widgets they were written into I am really wondering what
   can be going on. Now the correction messes up with the zig class widget that 
   I use in addition to widget logic (in case others face the same weird course 
   of action……..)

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

The topic ‘Widget Logic suddenly causing errors all over’ 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
 * 1 participant
 * Last reply from: [CMF2014](https://wordpress.org/support/users/cmf2014/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/widget-logic-suddenly-causing-errors-all-over/#post-5694796)
 * Status: not resolved