Your software
My PHP version is : 7.3.17
My MySQL/MariaDB version is (delete as applicable): 5.7.28
Updating/Installing Errors
I am (delete as applicable): Updating
Upgrading/installing via (delete as applicable) : Web AND Command Line
These errors are showing in the installer :
These errors are showing in the Mautic log :
Too many characters to post here (100k characters), but this error gets registered when I try to make changes to the segment integration campaign members:
mautic.WARNING: PHP Warning - array_flip(): Can only flip STRING and INTEGER values! - in file /var/www/vhosts//app/bundles/LeadBundle/Form/Type/FilterTrait.php - at line 275
These errors are showing in the upgrade_log.txt file (located in the root of your Mautic instance when an upgrade has been attempted - ensure you remove or redact any sensitive data such as domain names in the file path) :
Your problem
My problem is : I have upgraded from v2.16.5 to v.3.3.2 via v3.2.4. I had a couple of issues with the upgrade process - particularly hitting the ERR_MAUTIC_3_MIGRATIONS_IDENTIFICATION_FAILED error - which I resolved by manually running php bin/console doctrine:migrations:migrate
Our Mautic is connected to our salesforce instance and relies upon Salesforce Campaign Membership for building segments. Following the upgrade from v2.16.5 to v3.2.4, the Integration Campaign Members picklists on existing Segments are empty.
I reauthorized the Salesforce connector and re-ran synccontacts --integration=Salesforce but the Campaigns did not appear in the Integration Campaign Members picklists.
Knowing that v3.2.4 is not the latest release, I performed a command line upgrade to v3.3.2 – successfully applying the upgrade and schema updates. I then attempted a reauthorization of the plugin and a synccontacts again but no difference - the Integration Campaign Members picklist is still blank.
If I remove the existing Integration Campaign Members picklist from the Segment filters and then add a new Integration Campaign Members picklist, the list of Salesforce Campaigns appears in the picklist. However, if I attempt to save the Segment filters having selected a value in the picklist, I get the following error: This value is not valid.
If I run php bin/console doctrine:migrations:migrate, I get a WARNING! You have 134 previously executed migrations in the database that are not registered migrations. Other than that the results are No migrations to execute.
From the log file, it looks like something is unhappy, but I’m not sure exactly what!
Any help would be much appreciated…
Thanks!