• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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