Fatal error: Cannot make static method SGL_FrontController::run() non static in class RVSWebInit in

If you are facing issues with rvsitebuilder on cpanel server with error

“Fatal error: Cannot make static method SGL_FrontController::run() non static in class RVSWebInit in”

Run the below commands to fix it

perl /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/autoinstaller.cgi –force=rvseagullmod

Then run update RVSitebuilder again.
perl /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/autoinstaller.cgi –force=rvsitebuilder

Now  republish the website, the error will be fixed