Title: plugin.php
Last modified: August 20, 2016

---

# plugin.php

 *  [cool353](https://wordpress.org/support/users/cool353/)
 * (@cool353)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/pluginphp/)
 * hello sirr…
    my website [http://www.heavenofdreams.com](http://www.heavenofdreams.com)
 * wp-admin is not opening-
 * Fatal error: Call to undefined function current_user_can() in /home/heavenof/
   public_html/wp-includes/plugin.php on line 20
 * Warning: require_once(./admin.php) [function.require-once]: failed to open stream:
   No such file or directory in /home/heavenof/public_html/wp-includes/plugin.php
   on line 11
 * Fatal error: require_once() [function.require]: Failed opening required ‘./admin.
   php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/heavenof/public_html/
   wp-includes/plugin.php on line 11

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

 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/pluginphp/#post-2466154)
 * Try
    – deactivating all plugins (yes, all) to see if this resolves the problem.
   If this works, re-activate the plugins one by one until you find the problematic
   plugin(s). If you can’t get into your admin dashboard, try resetting the plugins
   folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still
   cause problems. Also remember to deactivate any plugins in the mu-plugins folder
   if you have one. The easiest way is to rename that folder to mu-plugins-old
 * – switching to the Twenty Eleven theme to rule out any theme-specific problems.
   If you can’t log in to change themes, you can remove the theme folders via FTP
   so the only one is twentyeleven. That will force your site to use it.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years, 4 months ago](https://wordpress.org/support/topic/pluginphp/#post-2466192)
 * Duplicate post.
 * [http://wordpress.org/support/topic/pluginphp-error-2?replies=5](http://wordpress.org/support/topic/pluginphp-error-2?replies=5)

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

The topic ‘plugin.php’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/pluginphp/#post-2466192)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
