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
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