Title: PHP Parse Error &#8211; Help!
Last modified: August 30, 2016

---

# PHP Parse Error – Help!

 *  Resolved [msim2](https://wordpress.org/support/users/msim2/)
 * (@msim2)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-parse-error-help-1/)
 * Getting this error in my PHP logs:
 * PHP Parse error: syntax error, unexpected ‘;’ in /mnt/stor09-wc1-ord1/775967/
   798572/neighborhood.mp.com/web/content/wp-content/plugins/widget-logic/widget_logic.
   php(286) : eval()’d code on line 1
 * Widget Logic is affecting one of my other, main plugins called Ultimate Member.
   Whenever I deactivate Widget Logic, then everything works smoothly. So I assume
   the issue is this PHP Parse error. Any thoughts on this? Thanks
 * [https://wordpress.org/plugins/widget-logic/](https://wordpress.org/plugins/widget-logic/)

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

 *  [winnephew](https://wordpress.org/support/users/winnephew/)
 * (@winnephew)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-parse-error-help-1/#post-6480086)
 * Well I think the error pretty much tells you what is wrong.
 * I’d guess your widget logic is something like
    `is_page('somepage');` where it
   should be `is_page('somepage')`
 * without the ;
    The code gets eval’d.
 *  Thread Starter [msim2](https://wordpress.org/support/users/msim2/)
 * (@msim2)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-parse-error-help-1/#post-6480087)
 * Thank you for answering!!! That helped me figure out the issue. For some reason,
   I didn’t think to check the actual widgets (I was checking the plugin backend
   code). I found the culprit. One of my widget logic widgets had:
 * is_page(’17’
 * It was missing the closing )
 * Thanks again!
 *  [winnephew](https://wordpress.org/support/users/winnephew/)
 * (@winnephew)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-parse-error-help-1/#post-6480088)
 * Cheers! Glad I could help you.
 *  [winnephew](https://wordpress.org/support/users/winnephew/)
 * (@winnephew)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-parse-error-help-1/#post-6480089)
 * Cheers! Glad I could help you.
 *  Thread Starter [msim2](https://wordpress.org/support/users/msim2/)
 * (@msim2)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-parse-error-help-1/#post-6480090)
 * 🙂

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

The topic ‘PHP Parse Error – Help!’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [msim2](https://wordpress.org/support/users/msim2/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/php-parse-error-help-1/#post-6480090)
 * Status: resolved