Can't export customizations

I’m trying to migrate a SuiteCRM7.7.8 server and i want to export my customizations that I created for the new one
But when I create the package, this error appear:

Fatal error: Cannot redeclare z935e488() (previously declared in /var/www/SuiteCRM/modules/FP_Event_Locations/metadata/subpanels/default.php:1) in /var/www/SuiteCRM/modules/FP_Event_Locations/metadata/subpanels/default.php on line 1

Do you know any reason why this happen when i want to export?

That’s a really strange error, there is no function called “z935e488()” that you can possibly be re-declaring… unless you wrote one?

Is your target system the same version as the source one (7.7.8 )? Don’t try migrating and upgrading at the same time, it’s a bad strategy…

The problem is that i can’t create the package with the customizations so my target system is not the problem.
I tried to remove the line 1 (only “<?php” written there) but then i have the same problem with another function on another file.
If i didnt write this function, is there a way SuiteCRM can write it on its own?

You don’t necessarily have to “export” the customizations to take them to the new server. You can simply copy over the custom directory.

It is essential that you migrate to the same version of SuiteCRM.

1 Like

Thanks, I was searching how to export “manually” and is only this directory.