Title: Errors after editing Widget Logic
Last modified: August 20, 2016

---

# Errors after editing Widget Logic

 *  [Mark Stevens](https://wordpress.org/support/users/mark-stevens/)
 * (@mark-stevens)
 * [14 years ago](https://wordpress.org/support/topic/errors-after-editing-widget-logic/)
 * I made a couple of !is_page(example-page) entries in Widget Logic.
    I had to 
   restart Windows because a few Windows updates installed. After I restarted Windows,
   I tried to login to my WordPress Dashboard.
 * I get to the login screen, (with this error code, below, accross the top).
 * Warning: Cannot modify header information – headers already sent by (output started
   at
 * /home/wxyzwxyz/public_html/wp-content/plugins/widget-logic/widget_logic.php(270):
   eval()’d code:1) in /home/wxyzwxyz/public_html/wp-includes/pluggable.php on
 * line 695
 * Warning: Cannot modify header information – headers already sent by (output started
   at
 * /home/wxyzwxyz/public_html/wp-content/plugins/widget-logic/widget_logic.php(270):
   eval()’d code:1) in /home/wxyzwxyz/public_html/wp-includes/pluggable.php on
 * line 696
 * Warning: Cannot modify header information – headers already sent by (output started
   at
 * /home/wxyzwxyz/public_html/wp-content/plugins/widget-logic/widget_logic.php(270):
   eval()’d code:1) in /home/wxyzwxyz/public_html/wp-includes/pluggable.php on
 * line 697
 * Warning: Cannot modify header information – headers already sent by (output started
   at
 * /home/wxyzwxyz/public_html/wp-content/plugins/widget-logic/widget_logic.php(270):
   eval()’d code:1) in /home/wxyzwxyz/public_html/wp-includes/pluggable.php on
 * line 700
 * Warning: Cannot modify header information – headers already sent by (output started
   at
 * /home/wxyzwxyz/public_html/wp-content/plugins/widget-logic/widget_logic.php(270):
   eval()’d code:1) in /home/wxyzwxyz/public_html/wp-includes/pluggable.php on
 * line 701
 * Warning: Cannot modify header information – headers already sent by (output started
   at
 * /home/wxyzwxyz/public_html/wp-content/plugins/widget-logic/widget_logic.php(270):
   eval()’d code:1) in /home/wxyzwxyz/public_html/wp-includes/pluggable.php on
 * line 702
 * Warning: Cannot modify header information – headers already sent by (output started
   at
 * /home/wxyzwxyz/public_html/wp-content/plugins/widget-logic/widget_logic.php(270):
   eval()’d code:1) in /home/wxyzwxyz/public_html/wp-includes/pluggable.php on
 * line 703
 * I login, and ALL i see is this (BELOW), no dashboard, no header, no nothing but
   this below:
 * Parse error: syntax error, unexpected T_LOGICAL_AND in /home/wxyzwxyz/public_html/
   wp-content/plugins/widget-logic/widget_logic.php(270) : eval()’d code on
 * line 1
 * Parse error: syntax error, unexpected T_LOGICAL_AND in /home/wxyzwxyz/public_html/
   wp-content/plugins/widget-logic/widget_logic.php(270) : eval()’d code on
 * line 1
 * Warning: Cannot modify header information – headers already sent by (output started
   at
 * /home/wxyzwxyz/public_html/wp-content/plugins/widget-logic/widget_logic.php(270):
   eval()’d code:1) in /home/wxyzwxyz/public_html/wp-login.php on line 349
 * Warning: Cannot modify header information – headers already sent by (output started
   at
 * /home/wxyzwxyz/public_html/wp-content/plugins/widget-logic/widget_logic.php(270):
   eval()’d code:1) in /home/wxyzwxyz/public_html/wp-login.php on line 361
 * Warning: Cannot modify header information – headers already sent by (output started
   at
 * /home/wxyzwxyz/public_html/wp-content/plugins/widget-logic/widget_logic.php(270):
   eval()’d code:1) in /home/wxyzwxyz/public_html/wp-includes/pluggable.php
 * on line 669
 * Warning: Cannot modify header information – headers already sent by (output started
   at
 * /home/wxyzwxyz/public_html/wp-content/plugins/widget-logic/widget_logic.php(270):
   eval()’d code:1) in /home/wxyzwxyz/public_html/wp-includes/pluggable.php
 * on line 670
 * Warning: Cannot modify header information – headers already sent by (output started
   at
 * /home/wxyzwxyz/public_html/wp-content/plugins/widget-logic/widget_logic.php(270):
   eval()’d code:1) in /home/wxyzwxyz/public_html/wp-includes/pluggable.php
 * on line 671
 * Warning: Cannot modify header information – headers already sent by (output started
   at
 * /home/wxyzwxyz/public_html/wp-content/plugins/widget-logic/widget_logic.php(270):
   eval()’d code:1) in /home/wxyzwxyz/public_html/wp-includes/pluggable.php
 * on line 866
 * WTF did I do??
    Even if the Widget Logic entries were bad, I should still be 
   able to login and fix them, right?
 * Please help. Thank You in advance
 * Website address is [http://www.addictiondiscussion.com](http://www.addictiondiscussion.com).
   
   Widget logic error code is all over the place.

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

 *  Thread Starter [Mark Stevens](https://wordpress.org/support/users/mark-stevens/)
 * (@mark-stevens)
 * [14 years ago](https://wordpress.org/support/topic/errors-after-editing-widget-logic/#post-2737956)
 * I removed the Widget Logic plugin folder via FTP and then uploaded it again.
   
   I refreshed the folder on the server and voilla!, the errors disappeared.
 * I would like to know what caused them in the first place though.
 *  [radi_v](https://wordpress.org/support/users/radi_v/)
 * (@radi_v)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/errors-after-editing-widget-logic/#post-2738343)
 * I am having the same problem!
 * Fatal error: Call to undefined function is_user_logged_in() in /home/wxyzwxyz/
   public_html/wp-content/plugins/widget-logic/widget_logic.php(270) : eval()’d 
   code on line 1
 * Can someone explain what causes this error?

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

The topic ‘Errors after editing Widget Logic’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [radi_v](https://wordpress.org/support/users/radi_v/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/errors-after-editing-widget-logic/#post-2738343)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
