Home Forums Exoplanet Pro Exoplanet loses personalization after importing the database 3 Reply To: Exoplanet loses personalization after importing the database 3

#1473
Andy
Keymaster

The unserialize functions (http://unserialize.onlinephpfunctions.com/) support only 99 lines.

This not correct. unserialize and serialize can handle unlimited variables. There is no size limit – http://php.net/manual/en/function.unserialize.php – and it supports many many times more rows than you have in your theme customizations.

Anyway, there was a few errors in the theme_mods data you posted previously…
e.g. s:84:”Soamigo, criando OutrasRotas”
should be s:28:”Soamigo, criando OutrasRotas”
as the length of the “Soamigo, criando OutrasRotas” string is 28 characters and not 84.

Once we repaired the data to re-calculate the string lengths, all was OK with unserializing the data.

I don’t know how the data became corrupted in the firat place as the saving of theme modifications is handled by the core WordPress files and not by the theme.

How to move forward so that importing your data will always work OK. Not sure. Depends how you are importing/copying your database or it’s data from one site to another.