Forums

Search and Replace
Sufficient Permissions Error (5 posts)

  1. Mystech
    Member
    Posted 6 months ago #

    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/

  2. jacksonmurphy
    Member
    Posted 4 months ago #

    Same problem here...

  3. Frank Bültge
    Member
    Posted 4 months ago #

    wich wordpress version?

  4. Daiv Mowbray
    Member
    Posted 2 months ago #

    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

  5. Frank Bültge
    Member
    Posted 2 months ago #

    but the object edit_plugins is an default object since WordPress 2.0; see http://codex.wordpress.org/Roles_and_Capabilities#edit_plugins

Reply

You must log in to post.

About this Plugin

About this Topic