Backgound process(Hooks and cron) stop working after upgrade to suit CRM 7.8.16 to 7.10.12 with PHP version upgrade to 7.1

Hello,

I recently upgrade the Suit CRM version from 7.8.16 to 7.10.12. Also I upgrade the PHP from 5.6 to 7.1 . As we checked, we found that the suit crm backgroud process is not working like hook and cron. I have added the after save hook on user module but that hook is not running. As we checked and degrade the php version to 5.6 from 7.1 with suit CRM version 7.10.12. At that time the all functionality working correctly. As I checked the suitcrm log but nothing wrong with log. Please help me to solve this.

Thank You,

Curious behavior… :huh:

You mention two different things - cron and hooks. They are not the same issue, right?

About hooks: you say your user after_save hook isn’t triggering. Can you please try it once more and look in php_errors.log (not just suitecrm.log)?

Hi,

As I checked with error reporting on. We also found following error.

Recoverable fatal error: Object of class EmailAddress could not be converted to string

Thank You,

Hi,

Also we checked in listing page we found that the email entry is not added and previous version suit CRM data emails also not showing correctly. It showing double. But In previous suit CRM version showing correctly.

Scrrenshot : https://nimb.ws/aBzMsJ

It’s more helpful if you provide the full error message, with line numbers etc

I think you have some customization breaking the SuiteCRM upgrade. Please start by checking that these functionalities are ok in the live demo:

demo.suitecrm.com

And then go in your upgradeWizard.log and check (on your most recent upgrade) the files that are listed like this:

Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] -  -------------- Check Custom Overrides -------------
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - Upload temp directory: /var/www/html/cache/upgrades/temp/9REFZQ/Suite$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: themes/SuiteP/themedef$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: themes/SuiteP/css/Day/$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: themes/SuiteP/css/Day/$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: themes/SuiteP/css/Day/$

Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/ProjectTask/me$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/ProjectTask/me$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/AOS_Contracts/$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/AOS_Contracts/$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/AOS_Contracts/$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/Documents/lang$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/Documents/meta$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/Contacts/langu$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/Cases/language$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/Cases/metadata$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/Cases/metadata$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/Cases/metadata$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/Cases/metadata$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/Administration$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/FP_events/lang$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/FP_events/meta$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: modules/FP_events/meta$
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: include/tabConfig.php
Tue, 22 Jan 2019 10:25:28 +0000 [UpgradeWizard] - A file in upgrade pack found in custom folder: include/Dashlets/Dashl$

If you have custom files that go over changes that SuiteCRM introduced, you need to manually examine and merge those changes, otherwise you will see some things breaking, inevitably.

1 Like