Title: PHP Parse Error Line 286
Last modified: August 21, 2016

---

# PHP Parse Error Line 286

 *  [failedprocess](https://wordpress.org/support/users/failedprocess/)
 * (@failedprocess)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/php-parse-error-line-286/)
 * In reviewing my PHP log, I noticed the following error:
    `PHP Parse error: syntax
   error, unexpected T_STRING in /PATH/widget_logic.php(286) : eval()'d code on 
   line 1` Is this nothing to worry about or something far more insidious?
 * [https://wordpress.org/plugins/widget-logic/](https://wordpress.org/plugins/widget-logic/)

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

 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/php-parse-error-line-286/#post-4729588)
 * it’s not something insidious. somewhere you have widget logic code that’s got
   a syntax error in it – probably a stray or missing quote/single quote character
 *  Thread Starter [failedprocess](https://wordpress.org/support/users/failedprocess/)
 * (@failedprocess)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/php-parse-error-line-286/#post-4729607)
 * Sounds good! Thanks alanft. Didn’t think it was anything to worry about but wanted
   to be sure I covered my bases.
 *  [ahmalh111](https://wordpress.org/support/users/ahmalh111/)
 * (@ahmalh111)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/php-parse-error-line-286/#post-4729668)
 * I have the same problem and I know what the problem is.
    I wrote a widget logic
   code wrong with the quote character. The problem I now have is that in the admin
   panel I can no longer “expand” the widget to access the widget logic field so
   I can change the code. I have never had this problem before and it just occurred
   combined with the wrong code input. What can I do? I tried to inactivate widget
   logic plugin and I can now expand the widgets but I really need that plugin.
 * [https://wordpress.org/plugins/widget-logic/](https://wordpress.org/plugins/widget-logic/)
 *  [Igor Ilgiyaev](https://wordpress.org/support/users/bigshow/)
 * (@bigshow)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/php-parse-error-line-286/#post-4729671)
 * i have the same problem with wp 3.9 any ideas?
 *  [andrewdaugdaug](https://wordpress.org/support/users/andrewdaugdaug/)
 * (@andrewdaugdaug)
 * [12 years ago](https://wordpress.org/support/topic/php-parse-error-line-286/#post-4729675)
 * Website: [http://thesuccessfulbuilder.com/](http://thesuccessfulbuilder.com/)
 * When you go to that website, it will show up this error message in a bunch of
   lines:
 * Parse error: syntax error, unexpected ‘)’ in /home/content/75/9721375/html/wp-
   content/plugins/widget-logic/widget_logic.php(286) : eval()’d code on line 2
 * Please advise. Thanks.
 * Thread: [http://wordpress.org/support/topic/widget_logicphp286-evald-code-on-line-2?replies=1#post-5549701](http://wordpress.org/support/topic/widget_logicphp286-evald-code-on-line-2?replies=1#post-5549701)
 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [12 years ago](https://wordpress.org/support/topic/php-parse-error-line-286/#post-4729676)
 * @ andrewdaugdaug
    anything starting “Parse error” ending “eval()’d code on line
   X” is a problem with the syntax of the logic in one of your widgets
 * [@bigshow](https://wordpress.org/support/users/bigshow/)/@ahmalh111
    I’m not 
   seeing this problem in general, so not sure it is caused by WL. You can “enable
   accessibility mode” (under screen options) if there’s a javascript issue preventing
   you accessing widget controls “dynamically”. That should help.

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

The topic ‘PHP Parse Error Line 286’ 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/)

## Tags

 * [eval](https://wordpress.org/support/topic-tag/eval/)
 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 6 replies
 * 5 participants
 * Last reply from: [alanft](https://wordpress.org/support/users/alanft/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/php-parse-error-line-286/#post-4729676)
 * Status: not resolved