• Resolved cirowp

    (@cirowordpress)


    Hi everyone,
    I need help: I’m an administrator of my site but I no longer have the ability to install or delete plugins, update wordpress like a normal administrator. I can create articles, pages, users, but even if I create an administrator user, he does not have the ability to delete or install plugins …. or update WordPress too.
    I found a plugin on my server called “linklove”. Someone install it!!!. I downloaded it to my Pc desktop and my antivirus (AVG) quarantined it: there was a malicious PHP script. In my MySql database the administrator user does not have a normal value wp_metauser a: 1: {s: 13: “administrator”; s: 1: “1”;} … but a: 1: {s: 13: ” administrator “; b: 1;}. I changed this value with the previous one but the problem remains. I installed User Role Editor and even if I see all the right permissions for the administrator user the problems remain. I’ve already updated wordpress to the latest version manually but it doesn’t improve. I activated a default theme and disabled all plugins and the problem remains. Who helps me???

    • This topic was modified 6 years, 11 months ago by cirowp.
Viewing 15 replies - 1 through 15 (of 30 total)
  • Thread Starter cirowp

    (@cirowordpress)

    Guys… I found the problem…
    after digging into wp-config.php I found both:

    define(‘DISALLOW_FILE_EDIT’, true);
    define(‘DISALLOW_FILE_MODS’,true);

    All I did was change true to false. Now I can update plugin and deactivate or delete them!
    I hope these simple information will be usefull for other wordpress administrator.

    Thanks, helped a lot…

    not sure how you found it!

    I guess you were hacked too…

    @cirowordpress tnx a lot!

    @cirowordpress tks a lot! I was stucked in this problem for almost 3 days!

    tivustream

    (@tivustream)

    Hello to all
    I’ve the same issue and cant edit or update anything there
    ..but in my wp-config.php there are NOT lines to

    define(‘DISALLOW_FILE_EDIT’, true);
    define(‘DISALLOW_FILE_MODS’,true);

    ..any ideas ?

    Thank You!

    Thank you SO MUCH! This worked like a charm!

    Joooo Thanks a thousand times, I would have never found the problem!

    Thank you @cirowp. This solution works perfectly.

    Thank you very much @cirowp
    My problem has been solved, too.
    I’ve been stuck for a week.

    darkuni

    (@darkuni)

    If you cannot find these entries in the files mentioned? They are probably hidden in your theme. Revert to a default theme or get a new one – see if suddenly the problem goes away. Did for me.

    twohumans

    (@twohumans)

    Thanks, this is still helping!

    Thank you for the fix!!

    Does anyone know what would cause this issue in the first place, how these were changed to ‘true’? I was thinking maybe an update gone awry, but maybe I need to up my site security? I would like to prevent this from happening in the future (or any unauthorized edits to site files)

    thank you @cirowordpress 😊

    Hi there,
    My plugin (Smartsupp) is not appearing on my website: procardapp.com. It is active and shows success on the plugin side, but it is not active on my website.

    @cirowordpress thank you, it worked

Viewing 15 replies - 1 through 15 (of 30 total)

The topic ‘Admin can’t install or delete plugins, update wordpress etc’ is closed to new replies.