Could not open input file: /usr/bin/wp


I created a new website using CyberPanel. Then I transferred a WordPress website from another server using Duplicator Pro. Eventually, I did a WordPress application scan in CyberPanel. Now whenever I click on this application in the list of WordPress applications, the error message pops up:

“Could not open input file: /usr/bin/wp”

Besides, When I try to edit the WordPress application settings for example enabling ‘LSCache’, it displays a successful message but it is not being saved!

Any help to fix this would be appreciated.

Thank you.

Welcome @msamavi Happy you are here

See this reply and confirm Error:local variable 'php' referenced before assignment - #4 by tmoore

sh <(curl || wget -O -
1 Like

Thanks @tmoore , now I get the following error message:

Operation Failed!

list index out of range

I had that once but I do not remember how I fixed it
Can you try to scan again and check if the error remains?