Title: Parse error when widget logic activated
Last modified: August 21, 2016

---

# Parse error when widget logic activated

 *  [timpears](https://wordpress.org/support/users/timpears/)
 * (@timpears)
 * [13 years ago](https://wordpress.org/support/topic/parse-error-when-widget-logic-activated/)
 * I get this error when the plugin is activated, and I nor anyone I know can figure
   out what is wrong or how to fix it.
    Parse error: syntax error, unexpected ‘;’
   in /home/timpears/public_html/iamgoingtohawaii.com/wp-content/plugins/widget-
   logic/widget_logic.php(284) : eval()’d code on line 1
 * Plus:
    Parse error: syntax error, unexpected ‘;’ in /home/timpears/public_html/
   iamgoingtohawaii.com/wp-content/plugins/widget-logic/widget_logic.php(284) : 
   eval()’d code on line 1
 * I have it disabled currently because of this problem, but I would like to use
   it if it can be fixed.
 * WTH?
 * [http://wordpress.org/extend/plugins/widget-logic/](http://wordpress.org/extend/plugins/widget-logic/)

Viewing 1 replies (of 1 total)

 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [13 years ago](https://wordpress.org/support/topic/parse-error-when-widget-logic-activated/#post-3702989)
 * you have some rogue widget logic code in one of your widgets. go through each
   widget, check the code each time.
 * it should be possible to save out your WL settings, and then blank each one until
   the error goes, then you can restore from the saved saved settings file and blank
   just the one that fixed it.

Viewing 1 replies (of 1 total)

The topic ‘Parse error when widget logic activated’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [alanft](https://wordpress.org/support/users/alanft/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/parse-error-when-widget-logic-activated/#post-3702989)
 * Status: not resolved