• Resolved gladiator121

    (@gladiator121)


    Hi,

    I’am not able to install or delete plugins in my website. I am also cannot update the plugins.

    When I hover over “Plugins” in my setting tab, i do not get any options to add a new plugin. See screenshot:
    https://ibb.co/sjr9xcc

    I am not able to update plugins also or delete.

    I tried all of these solutions :
    1)changed my theme to the default one
    2)deactivated all the plugins
    3)increased the PHP memory limit to 256
    4)Checked if i’m in administrator account or editor – i’m in admin role
    5)tried to connect directly to /wp-admin/plugin-install.php – and this lead me to an error “Sorry, you are not allowed to access this page.”

    any help would be appreciated.
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Check file permissions of the WordPress

    Changing File Permissions

    If issue still persists, check error log file and you will find errors related to this issue

    Thread Starter gladiator121

    (@gladiator121)

    After a very long and deeply investigate, the problem was with wp-config.php file

    2 lines of code was causing the problem,
    define(‘DISALLOW_FILE_EDIT’, true);
    define(‘DISALLOW_FILE_MODS’, true);

    when i switched them to false, the problem was resolved.

    Thank you so much.

    Awesome. I also learnt something new today ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot Upload Plugins’ is closed to new replies.