• Priority: Medium
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 18.08.21, 16:00
  • Opened by: Eric Quetto

Ticket #22125 - Admin page "pk theme settings" error 500

Hi,

I cannot access the configuration page of the “pkthemesettings” module I have an error 500 with this error message:
Unable to transform value for property path “[background-color]”: Expected a numeric.

No modification was made yet, prestashop 1.7.7.6 freshly installed, Theme “Alysum” v.7.0.1, Theme Settings v.2.0.5, php_version: 7.3

√Čric

Comments

Eric Quetto 18 Aug 2021, 17:53

I think this comes from the "TextWithUnitType" class, in the "getParent" function.
I tried putting "TextType::class" instead of "NumberType::class", it works.

Fred 18 Aug 2021, 20:18

Hi, Eric
Try a solution provided in this ticket https://support.promokit.eu/index.php?do=details&task_id=22107

Eric Quetto 19 Aug 2021, 14:02

Hi Fred,

It's OK with this solution.

Thanks

Fred 19 Aug 2021, 14:02

You are welcome!