• Priority: 0
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 22.11.23, 17:00
  • Opened by: David WILQUIN

Ticket #25072 - Deserialization problem in Pkthemesettings module

Hi,
I would like to contact you because I encountered a problem with the Pkthemesettings module on my PrestaShop site. In fact we developed it on the domain prod.collections-medusa.com but by moving it to collections-medusa.com the pkthemesettings module poses a problem.
The problem seems to be related to deserialization of data stored in the database. I’ve already tried several approaches to fix the problem, including cleaning the data string and iterating byte by byte, but the error persists.
The specific error I receive is: “Uncaught PHP Exception ErrorException: “Notice: unserialize(): Error at offset [580] of [9143] bytes” at [/home/gourbeyrpt/dakin/prod/medusa/modules /pkthemesettings/src/Form/PkthemesettingsRepository.php]“.
I suspect the problem might be with the way the data is serialized or stored. Can you intervene to resolve this specific problem?
Thank you in advance for your help.
Sincerely,

Comments

Fred 23 Nov 2023, 11:02

Hi, David WILQUIN.
How can I see the issue live?
Can I have access to your back office and FTP? if so, please fill out all necessary fields in your profile https://support.promokit.eu/myprofile

David WILQUIN 23 Nov 2023, 15:05

Hello,

You'll find access directly in my account information.
To see the problem live, we're in the process of migrating it, and we'll let you know as soon as it's done.

David WILQUIN 24 Nov 2023, 09:49

Hello,

We've migrated the site. You can find the problem by going directly to https://collections-medusa.com/

Attachments:

Fred 24 Nov 2023, 10:15

As I can see Theme Settings configuration has not been migrated, it just doesn't exist in your new store. Try to reset Theme Settings module

David WILQUIN 24 Nov 2023, 10:23

Won't this cause the entire configuration to be lost?

Fred 24 Nov 2023, 10:27

But you don't have configuration at all.
- reset the module.
- go to your old database via phpMyAdmin and find module config → https://take.ms/L80AE

- export it from there and import to your new store

David WILQUIN 24 Nov 2023, 10:29

Thanks, I'll give it a try.

Fred 24 Nov 2023, 10:30

Let me know the result

David WILQUIN 24 Nov 2023, 10:38

It seems to work

Fred 24 Nov 2023, 10:38

Great!

David WILQUIN 24 Nov 2023, 11:05

Thank you!

Fred 24 Nov 2023, 11:11

You are welcome!