Blank dashboard and Admin page after upgrade from 7.11 to 7.12

Hello,

I tried upgrading my SuiteCRM instance from 7.11 to 7.12 on my way to 7.14. The last line in the upgrade logfile is ā€œsetting session variablesā€¦ā€

I’m getting random blank pages including the dashboard, admin panel. Some are working. When I click on others I get an error window ā€œThere was an error prcoessing your request, please try again at a later time.ā€

Can anyone help me with this? It’s been quite a long time since I’ve touched SuiteCRM. I was trying to upgrade as I am moving off my current web host to a different one which is a whole other can of worms. I was trying to upgrade to the latest version before I copied everything. Thank you!

I enabled PHP errors and saw a bunch of Google vendor errors. I saw another post which recommended to run "composer install --no-dev after removing the vendor folder. This eliminated all the warnings I was seeing and now I see the following which was not an issue before upgrading:

Fatal error : Uncaught Error: Call to undefined method Basic::Basic() in /home3/bhairya/public_html/ashrockrealty.com/scrm/modules/propm_Property/propm_Property_sugar.php:70 Stack trace: #0 /home3/bhairya/public_html/ashrockrealty.com/scrm/modules/propm_Property/propm_Property.php(47): propm_Property_sugar->propm_Property_sugar() #1 /home3/bhairya/public_html/ashrockrealty.com/scrm/data/BeanFactory.php(123): propm_Property->propm_Property() #2 /home3/bhairya/public_html/ashrockrealty.com/scrm/data/Relationships/M2MRelationship.php(416): BeanFactory::getBean(ā€˜propm_Property’) #3 /home3/bhairya/public_html/ashrockrealty.com/scrm/data/Relationships/M2MRelationship.php(384): M2MRelationship->getQuery(Object(Link2), Array) #4 /home3/bhairya/public_html/ashrockrealty.com/scrm/data/Link2.php(195): M2MRelationship->load(Object(Link2), Array) #5 /home3/bhairya/public_html/ashrockrealty.com/scrm/data/Link2.php(168): Link2->query(Array) #6 /home3/bhairya/public_html/ashrockrealty.com/scrm/data/Link2.php(209): Link2->load(Array) #7 /h in /home3/bhairya/public_html/ashrockrealty.com/scrm/modules/propm_Property/propm_Property_sugar.php on line 70

And also this in the error_log after the doing the vendor reinstall:

[03-May-2025 12:00:04 America/Chicago] PHP Fatal error: Uncaught Zend_Search_Lucene_Exception: Index doesn’t exists in the specified directory. in /home3/bhairya/public_html/ashrockrealty.com/scrm/vendor/zf1/zend-search-lucene/library/Zend/Search/Lucene.php:566

And this:

Fatal error : Uncaught Error: Call to undefined method DashletGeneric::DashletGeneric() in /home3/bhairya/public_html/ashrockrealty.com/scrm/modules/propm_Property/Dashlets/propm_PropertyDashlet/propm_PropertyDashlet.php:57 Stack trace: #0 /home3/bhairya/public_html/ashrockrealty.com/scrm/modules/Home/index.php(226): propm_PropertyDashlet->propm_PropertyDashlet(ā€˜e72ddaa3-8635-c…’, Array) #1 /home3/bhairya/public_html/ashrockrealty.com/scrm/modules/Home/views/view.list.php(54): include(ā€˜/home3/bhairya/…’) #2 /home3/bhairya/public_html/ashrockrealty.com/scrm/include/MVC/View/SugarView.php(210): HomeViewList->display() #3 /home3/bhairya/public_html/ashrockrealty.com/scrm/include/MVC/Controller/SugarController.php(432): SugarView->process() #4 /home3/bhairya/public_html/ashrockrealty.com/scrm/include/MVC/Controller/SugarController.php(363): SugarController->processView() #5 /home3/bhairya/public_html/ashrockrealty.com/scrm/include/MVC/SugarApplication.php(101): SugarController->execute() #6 /home3/bhairya/public_html/ashro in /home3/bhairya/public_html/ashrockrealty.com/scrm/modules/propm_Property/Dashlets/propm_PropertyDashlet/propm_PropertyDashlet.php on line 57

I decided to upgrade again to 7.14.6 and managed to do so but the previous error about the call to undefined method DashletGeneric::DashletGeneric() persists and I am unable to see some pages which are blank. I had created this module using Module Builder years ago. What can I do to fix this problem? Thank you.

There seems to be something about your custom module that is broken, possibly due to the newer PHP version.

You basically need to fix those PHP fatals in the code of the module. It shouldn’t be too difficult for a PHP developer, but if you’re having trouble you could also try (after making proper backups) removing the entire custom dashlet.

Thanks. The PHP version was set to 7.4, I didn’t change that. I just changed it to 8.1 but it made no difference. I created the module builders years ago using the module creator or Studio (I think?). I’m not really a PHP dev and don’t have one although I have some basic knowledge. Why was this not an issue in 7.11 but became one in 7.12 I don’t quite get? How can I remove the dashlet?

Now I’m getting a bunch of other errors on PHP 8.1. I’ve spent way too much time on this and I’m tired. I’m thinking maybe I should just drop SuiteCRM and look at something else. This is way too much trouble for not a lot of gain. Even though I’m fairly tech savvy this is just too much trouble. I’ve used SuiteCRM for a few years and almost everytime I’ve tried upgrading I’ve had some issues which have taken time and effort to fix. I think I’m done. Thanks.

Warning: Attempt to read property ā€œmodule_dirā€ on null in /home3/bhairya/public_html/ashrockrealty.com/scrm/include/Dashlets/DashletGeneric.php on line 385

Warning: Attempt to read property ā€œfield_defsā€ on null in /home3/bhairya/public_html/ashrockrealty.com/scrm/include/Dashlets/DashletGeneric.php on line 571

Warning: foreach() argument must be of type array|object, null given in /home3/bhairya/public_html/ashrockrealty.com/scrm/include/Dashlets/DashletGeneric.php on line 571

Warning: Attempt to read property ā€œfield_defsā€ on null in /home3/bhairya/public_html/ashrockrealty.com/scrm/include/Dashlets/DashletGeneric.php on line 326

Warning: Trying to access array offset on value of type null in /home3/bhairya/public_html/ashrockrealty.com/scrm/include/Dashlets/DashletGeneric.php on line 326

Warning: Trying to access array offset on value of type null in /home3/bhairya/public_html/ashrockrealty.com/scrm/include/generic/LayoutManager.php on line 248

Warning: Attempt to read property ā€œtable_nameā€ on null in /home3/bhairya/public_html/ashrockrealty.com/scrm/include/Dashlets/DashletGeneric.php on line 329

Warning: Attempt to read property ā€œtable_nameā€ on null in /home3/bhairya/public_html/ashrockrealty.com/scrm/include/Dashlets/DashletGeneric.php on line 330

Warning: Undefined array key ā€œtypeā€ in /home3/bhairya/public_html/ashrockrealty.com/scrm/include/Dashlets/DashletGeneric.php on line 335

Fatal error: Uncaught Error: Call to undefined method SugarWidgetField::queryFilterone_of() in /home3/bhairya/public_html/ashrockrealty.com/scrm/include/Dashlets/DashletGeneric.php:365 Stack trace: #0 /home3/bhairya/public_html/ashrockrealty.com/scrm/include/Dashlets/DashletGeneric.php(416): DashletGeneric->buildWhere() #1 /home3/bhairya/public_html/ashrockrealty.com/scrm/modules/Home/index.php(244): DashletGeneric->process(Array) #2 /home3/bhairya/public_html/ashrockrealty.com/scrm/modules/Home/views/view.list.php(55): include(ā€˜/home3/bhairya/…’) #3 /home3/bhairya/public_html/ashrockrealty.com/scrm/include/MVC/View/SugarView.php(210): HomeViewList->display() #4 /home3/bhairya/public_html/ashrockrealty.com/scrm/include/MVC/Controller/SugarController.php(432): SugarView->process() #5 /home3/bhairya/public_html/ashrockrealty.com/scrm/include/MVC/Controller/SugarController.php(363): SugarController->processView() #6 /home3/bhairya/public_html/ashrockrealty.com/scrm/include/MVC/SugarApplication.php(101): SugarController->execute() #7 /home3/bhairya/public_html/ashrockrealty.com/scrm/index.php(52): SugarApplication->execute() #8 {main} thrown in /home3/bhairya/public_html/ashrockrealty.com/scrm/include/Dashlets/DashletGeneric.php on line 365

:wave:

…

Are you able to access the rest of the pages and modules?

Maybe helpful:

v7.12 does not support PHP v8.1