Cannot save Configure Module Menu Filters


I am having a problem in saving a configuration in module menu filters. After clicking the save and deploy with or w/o configuration, it will always redirect me to a blank page in /…/…/index.php.

Here’s my versions:
SuiteCRM Version 7.13.1
Sugar Version 6.5.25 (Build 344)
PHP v8.1.4

Here’s also the php logs:

[03-Apr-2023 02:17:52 UTC] PHP Fatal error: Uncaught Error: Non-static method TabGroupHelper::saveTabGroups() cannot be called statically in /vagrant/pemc-dev/modules/Studio/SaveTabs.php:48
Stack trace:
#0 /vagrant/pemc-dev/include/MVC/View/SugarView.php(824): include_once()
#1 /vagrant/pemc-dev/include/MVC/View/views/view.classic.php(72): SugarView->includeClassicFile()
#2 /vagrant/pemc-dev/include/MVC/View/SugarView.php(210): ViewClassic->display()
#3 /vagrant/pemc-dev/include/MVC/Controller/SugarController.php(432): SugarView->process()
#4 /vagrant/pemc-dev/include/MVC/Controller/SugarController.php(363): SugarController->processView()
#5 /vagrant/pemc-dev/include/MVC/SugarApplication.php(101): SugarController->execute()
#6 /vagrant/pemc-dev/index.php(52): SugarApplication->execute()
#7 {main}
  thrown in /vagrant/pemc-dev/modules/Studio/SaveTabs.php on line 48

Hope you can help me with this.

This is an incompatibility with php 8 + with suitecrm that you have found. Please report it on suitecrm github .

The fix for this seems simple.
Please replace the line 48 in modules/Studio/SaveTabs.php



$tg=new TabGroupHelper();


Is there a PR for this already on Github?

I just looked yes there is a PR for this

1 Like

Thank you. With your help, this is now working.

1 Like