I recently changed my server php version to 7.0, but then I went back to 5.6 after an issue with another plugin. After this, some of my fields disappeared, and the rest (texts and text areas) they all have a character encoding error where all special characters (á, º, €, etc) are now “Ã¡”, “Âº”, “Ã¢â€šÂ¬”, etc.
I sadly don’t have any hope in recovering all my data, but at least I’d like to know why did this happen so I can avoid making the same mistake again.
I don’t know much about php or mysql, so I can’t understand why changing the php version corrupts the database.
Could you please check your database if the saved values have the weird encoding too? If they are, could you please check the collation of the tables. I believe the right collation should be “utf8mb4_unicode_ci”.
It’s possible that your PHP7 had a setup that changes the encoding. The best way would be asking your hosting about it. Also, please backup your website first before you change your server setup.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users