• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Wordpress Toolkit unable to get admin username of site

PSi_101

Regular Pleskian
Wordpress Toolkit is having problems getting the admin username of one of my sites when doing a security scan. This is the error it spits out:

An error occurred while checking the administrator\'s username on the WordPress installation 'xxxxxxx'

I've replaced the sitename in the above error. Also the extraneous "\" is there in the error so i've pasted it verbatim.
I can log into the site through WP Toolkit so it's got the username and password saved correctly.

Anyone know how to fix this?
 
Found the problem. Wordpress Toolkit is not able to handle Admin users with multiple roles.
My user has the roles of administrator and backwpup_admin. As soon as I remove backupwpup_admin, I could scan just fine.
I'm assuming this is a bug.
 
Last edited:
@PSi_101 ,

I've checked your case and seems like it is not really valid. I installed latest WordPress and add two plugins: Multiply Roles for user and BackWPup. Then i added a new user with roles "Administrator" and "BackWPup Admin", because i couldn't add "BackWPup Admin" role to my main admin user. There was a hint "Hint: for Administrators, please select only "Administrator" role.". Also there is a conversation about it:
https://wordpress.org/support/topic/assigning-backwpup-admin-roles

So seems like there is no need to have user with such configuration of the roles because it is not correct
 
Last edited:
Apologies @cepesh84 I misdiagnosed the problem. It's not caused by multiple roles, it's caused by PHP 7. The problem only seems to happen when the site is configured through Plesk to use PHP 7. If I switch back to the default PHP (5.4), the problem goes away.
Here are the errors thrown in /var/log/plesk/panel.log which back that up:

[2016-08-18 23:16:52] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/wpmng' '--user=xxxx' '--php=/opt/plesk/php/7.0/bin/php' '--' '--path=/var/www/vhosts/xxxxx/httpdocs/blog' 'security-keys' 'are_keys_correct'] with exit code [245]

[2016-08-18 23:16:52] ERR [1] '/opt/psa/admin/bin/wpmng' '--user=xxxxxxx' '--php=/opt/plesk/php/7.0/bin/php' '--' '--path=/var/www/vhosts/xxxxxxx/httpdocs/blog' 'security-keys' 'are_keys_correct' failed with code 245.

Username and sitenames have been substituted.
 
Back
Top