Title: [Plugin: Search and Replace] Sufficient Permissions Error
Last modified: August 20, 2016

---

# [Plugin: Search and Replace] Sufficient Permissions Error

 *  Resolved [Mystech](https://wordpress.org/support/users/mystech/)
 * (@mystech)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-search-and-replace-sufficient-permissions-error/)
 * Does not work, generates the sufficient permission error page. Updating does 
   not resolve, neither does deactivating other plugins and using default theme.
 * [http://wordpress.org/extend/plugins/search-and-replace/](http://wordpress.org/extend/plugins/search-and-replace/)

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

 *  [jacksonmurphy](https://wordpress.org/support/users/jacksonmurphy/)
 * (@jacksonmurphy)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-search-and-replace-sufficient-permissions-error/#post-2414570)
 * Same problem here…
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-search-and-replace-sufficient-permissions-error/#post-2414571)
 * wich wordpress version?
 *  [Daiv Mowbray](https://wordpress.org/support/users/daiv/)
 * (@daiv)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-search-and-replace-sufficient-permissions-error/#post-2414579)
 * Same problem here,
 * > You do not have sufficient permissions to edit plugins for this blog.
 * WP Version 3.3.1
    S&R Version 2.6.3
 * Disconnected all plugins and receive the same response.
    Tested on second server,
   different domain, same result.
 * checked the current_user_can function in the codex.
    seams that there has been
   a change in parameters for the function. what is in the plugin code is: `if (
   current_user_can('edit_plugins') )`
 * All works as expected when changed to:
    `if ( current_user_can('administrator'))`
 * That’s on line 792 of the plugin php file and on line 99.
 * HTH
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-search-and-replace-sufficient-permissions-error/#post-2414580)
 * but the object `edit_plugins` is an default object since WordPress 2.0; see [http://codex.wordpress.org/Roles_and_Capabilities#edit_plugins](http://codex.wordpress.org/Roles_and_Capabilities#edit_plugins)
 *  [sabahat](https://wordpress.org/support/users/sabahat/)
 * (@sabahat)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-search-and-replace-sufficient-permissions-error/#post-2414591)
 * Thank you, Daiv Mowbray. Your solution worked for me!

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

The topic ‘[Plugin: Search and Replace] Sufficient Permissions Error’ is closed 
to new replies.

 * ![](https://ps.w.org/search-and-replace/assets/icon-256x256.png?rev=1776844)
 * [Search & Replace](https://wordpress.org/plugins/search-and-replace/)
 * [Support Threads](https://wordpress.org/support/plugin/search-and-replace/)
 * [Active Topics](https://wordpress.org/support/plugin/search-and-replace/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-and-replace/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-and-replace/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [sabahat](https://wordpress.org/support/users/sabahat/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-search-and-replace-sufficient-permissions-error/#post-2414591)
 * Status: resolved