• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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