Google cloud server error

Cyberpanel and wordpress were installed on Google cloud and the site was moved and run from another server.

But since last night, the cyberpanel has not been accessed and it gives a server error 500. The site is also not accessible.

also ip:8090/rainloop/ page has an error message as below.

Fatal error: Uncaught Error: Call to undefined function json_encode() in /usr/local/CyberCP/public/rainloop/rainloop/v/1.16.0/app/libraries/RainLoop/Service.php:322 Stack trace: #0 / usr/local/CyberCP/public/rainloop/rainloop/v/1.16.0/app/libraries/RainLoop/Service.php(206): RainLoopService->indexTemplateParameters(false, false, false) #1 /usr/local/CyberCP /public/rainloop/rainloop/v/1.16.0/app/libraries/RainLoop/Service.php(62): RainLoopService->localHandle() #2 /usr/local/CyberCP/public/rainloop/rainloop/v/1.16 .0/app/libraries/RainLoop/Service.php(85): RainLoopService->__construct() #3 /usr/local/CyberCP/public/rainloop/rainloop/v/1.16.0/app/handle.php(94 ): RainLoopService::Handle() #4 /usr/local/CyberCP/public/rainloop/rainloop/v/1.16.0/include.php(243): include(’/usr/local/Cybe…’) #5 /usr/local/CyberCP/public/rainloop/index.php(13): include(’/usr/local/Cybe…’) #6 {main} thrown in /usr/local/CyberCP/public/ rainloop/rainloop/v/1.16.0/app/libraries/RainLoop/Service.php on line 322

How can we get the website working again?

update cyberpanel once and try