Error:local variable 'php' referenced before assignment


I just got the WordPress manager addon, however when I go into a site and click on some of the tabs like plugins or themes I get:

Error:local variable ‘php’ referenced before assignment

Any help would be greatly appreciated.

I have exactly the same after an update of CyberPanel this week on more than one server!
Hope support will provide a fix quickly.

Same here - cannot use anymore all Wordpress Functions

Run this command, post the output here with a screenshot:
ls -l /usr/bin/wp

Probably the binary of wordpress cli (the one above) doesn’t exist.
If exists and proper permissions, should be the php symlink

I’m in the same problem, too. When I run the above command, I have the following answer:
-rwxr-xr-x 1 root root 6729511 Nov 4 14:39 /usr/bin/wp