Jump to content

'InvalidArgumentException' with message 'Invalid type - expected string, but got (double) "0.4"' in.....


fre2004

Recommended Posts

Hello everyone,

when a user in a customer group with price reduction (eg. - 40%),

browse thse shop online, he gets a blank page.

In erro_log i see:

PHP Fatal error:  Uncaught exception 'InvalidArgumentException' with message 'Invalid type - expected string, but got (double) "0.4"' in /home/.........

 

The file involved is: /vendor/prestashop/decimal/src/Number.php at line 66.

 

Here some server info:

--

server Linux #1 SMP Wed Jul 11 13:51:30 MSK 2018 x86_64

server: Apache

PHP: 5.6.38

memory limit: 512M

mac exe.. time: 300

--

 

 

Anyone have an idea?

Thanks a lot.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...