SOLVED wordpress toolkit under 92.0.3 fails reading installed wordpress

planetjoin

Well-Known Member
Oct 14, 2003
71
4
158
cPanel Access Level
Root Administrator
Hello

I´ve upgraded to cpanel 92.0.3 in few servers without issues for now.
BUt i´ve updated a cloudlinux server , and when i go to "Wordpress toolkit" from WHM and the script try to check the sites with Wordpress installed i get ALL are broken (that is nOT true), all them with the same error :

Fatal error: require(): Failed opening required '/usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/wp-cli/php/boot-fs.php' (include_path='.:/opt/alt/php74/usr/share/pear') in Command line code on line 1

Any help?

Thanks
Fabian
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
4,399
553
273
cPanel Access Level
Root Administrator
Hello there! WPT is still very to new to cPanel, and I haven't come across this error on my end just yet. It might be best to open a ticket because if there is an issue with WPT and CloudLinux systems we'd like to identify that and get it resolved.
 

planetjoin

Well-Known Member
Oct 14, 2003
71
4
158
cPanel Access Level
Root Administrator
Hello there! WPT is still very to new to cPanel, and I haven't come across this error on my end just yet. It might be best to open a ticket because if there is an issue with WPT and CloudLinux systems we'd like to identify that and get it resolved.
Thanks cPRex

I opened a ticket in Cloudlinux now.. as i think is something in that end.
For some reason in any CL server i manage the folder /opt/alt/php74/usr/share/pear is not exists
(but exists the folder in /opt/alt/php73/usr/share/pear, /opt/alt/php72/usr/share/pear /opt/alt/php71/usr/share/pear, etc.)

I will wait untilthey can see the issue, if they can fix it i will post the solution here.
If not, i will open a ticket here in cPanel.

Thanks
Fabian
 

CloudSecuritySol

Registered
Mar 2, 2021
3
0
1
Belgium
cPanel Access Level
Root Administrator
The other option which worked for me was reenable Apache module mod_ruid2, and disable Cloudlinux Cage, then reenable cage once finished installing.

For future install of wp i will monitor for any problems with the yum install alt-php74-pear installed. This might fix the issue for all.
 

blue928

Registered
Feb 7, 2021
4
0
1
United States
cPanel Access Level
Root Administrator
I am getting this issue as well too. As CloudSecuritySol pointed out, this has to do with Cloudlinux it seems. alt-php74-pear is installed correctly. I get this error in wp-toolkit:


Scanning for WordPress websites was performed with errors:
Failed to register instance at '/home/domain/public_html':
Fatal error: require(): Failed opening required '/usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/wpt-wp-cli.php' (include_path='.:/opt/alt/php74/usr/share/pear') in Command line code on line 1

Not sure how to fix it

running Cloudlinux 8 with cpanel 94