• 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 Error getting administrator credentials: PHP Fatal error: Call to undefined function WC_CLI_Runner::after_wp_load()

realaaa@

Basic Pleskian
Server operating system version
CentOS Linux release 7.9.2009 (Core)
Plesk version and microupdate number
Plesk Obsidian 18.0.67.3
Hi All !

has anyone seen that? there are several existing similar topics, but I couldn't find this specific function and file error.

basically happens for one of the WP sites, when trying to Login from it's Plesk - opens up new tab, hangs there for several seconds, and then closes it and bring your back to Plesk with this error pop-up on the top right.

Granted, the WordPress on this site is in pretty poor shape, but still, this should work, right?

Does it depends on plugins etc which are installed on the website, and WP overall health?

Any tips / advice is much appreciated !


Error getting administrator credentials: PHP Fatal error: Call to undefined function WC_CLI_Runner::after_wp_load() in /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/class-wp-cli.php on line 336

Error: There has been a critical error on your website.Learn more about debugging in WordPress. There has been a critical error on your website.


From <https://SERVER:8443/smb/web/overview/id/45/type/domain>
1741588130746.png


1741588100170.png
 
Hi!

Which version of WP Toolkit do you have? Looks like there are modified files of built-in wp-cli or a plugin interferes wp-cli workflow. Try to disable 1-by-1 plugins to find the root cause of this issue.

Checked, a fresh WordPress installation with the same version doesn't have such issue.
 
Back
Top