Title: WP 2.7 &#8211; include_once() Errors After Plugin Install/Uninstall
Last modified: August 19, 2016

---

# WP 2.7 – include_once() Errors After Plugin Install/Uninstall

 *  Resolved [asechrest](https://wordpress.org/support/users/asechrest/)
 * (@asechrest)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/wp-27-include_once-errors-after-plugin-installuninstall/)
 * I’m new to wordpress, so thanks in advance for the help. After a failed Plugin
   install, I get the following errors, and the website and dashboard will not appear.(
   I have successfully uninstalled the plugin, and verified that the plugin folder
   was removed from the server):
 * > Warning: include_once(/home/sechrest/public_html/wp-content/plugins/admin/)[
   > function.include-once]: failed to open stream: Success in /home/sechrest/public_html/
   > wp-settings.php on line 473
   > Warning: include_once() [function.include]: Failed opening ‘/home/sechrest/
   > public_html/wp-content/plugins/admin/’ for inclusion (include_path=’.:/usr/
   > lib/php:/usr/local/lib/php’) in /home/sechrest/public_html/wp-settings.php 
   > on line 473
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/sechrest/public_html/wp-settings.php:473) in /home/sechrest/
   > public_html/wp-includes/pluggable.php on line 850
 * I took a look at line 473 in the wp-settings.php file, but I have no coding experience
   so I’m not sure what steps to take. Would appreciate any guidance on how to get
   the site back up and running.
 * Thank you.

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

 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/wp-27-include_once-errors-after-plugin-installuninstall/#post-989912)
 * hi
 * see if you have a folder called admin in your wp-content/plugins/ folder
 * unless you have a plugin with that name, it should not be there.
 * if it is there, try deleting it, or at least moving it outside of the plugins
   folder
 * Then try again and see if that helps
 *  Thread Starter [asechrest](https://wordpress.org/support/users/asechrest/)
 * (@asechrest)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/wp-27-include_once-errors-after-plugin-installuninstall/#post-989915)
 * That appears to have worked! Now that I see your fix, I understand a bit better
   about what the error(s) meant and how I could fix a similar situation in the 
   future.
 * I’m going to mark this as resolved. Thanks a lot for your help.
 *  [arjun279](https://wordpress.org/support/users/arjun279/)
 * (@arjun279)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/wp-27-include_once-errors-after-plugin-installuninstall/#post-990270)
 * Hi Stvwlf,
 *  I have a same problem what asechrest had. But, as you suggested him, I don’t
   have admin folder or plgun with that name in specified directory. I did install
   and uninstall plugins previously. I am using exec-php plugin to execute php scripts
   in my web pages. PHP scripts excecute fine if I have simple code, but when I 
   include include_once function, I get an error exactly what asechrest got.
 *  I am using simplepie plugin to feed content from RSS feeds. The simplepie.inc
   is a required file and it is located in following absolute path.
    /public_html/
   transgeeks/quicknews/php/simplepie.inc I am using PHP script like this include_once
   $_SERVER[‘DOCUMENT_ROOT’].’/php/simplepie.inc’; because quicknews is my document
   root. When I run this script, I don’t get any path related errors. I get an error
   like this.
 * Warning: include_once(/home/expertsh/public_html/transgeeks/php/simplepie.inc)[
   function.include-once]: failed to open stream: No such file or directory in /
   home/expertsh/public_html/transgeeks/quicknews/wp-content/plugins/exec-php/includes/
   runtime.php(42) : eval()’d code on line 4
 * Warning: include_once() [function.include]: Failed opening ‘/home/expertsh/public_html/
   transgeeks/php/simplepie.inc’ for inclusion (include_path=’.:/usr/lib/php:/usr/
   local/lib/php’) in /home/expertsh/public_html/transgeeks/quicknews/wp-content/
   plugins/exec-php/includes/runtime.php(42) : eval()’d code on line 4
    // feed 
   url
 * Any idea what is happening?
 * Thanks in advance.
 * -Kenchappagoudra

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

The topic ‘WP 2.7 – include_once() Errors After Plugin Install/Uninstall’ is closed
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [arjun279](https://wordpress.org/support/users/arjun279/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/wp-27-include_once-errors-after-plugin-installuninstall/#post-990270)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
