Post by syamimizainul » Thu Jul 07, 2022 4:41 pm

TypeError: Opencart\System\Library\Cart\Currency::format(): Argument #1 ($number) must be of type float, null given, called in C:\xampp\htdocs\opencartsite\extension\opencart\admin\controller\report\sale_order.php on line 117 in C:\xampp\htdocs\opencartsite\system\library\cart\currency.php on line 24

I have encountered this error and I don't know how to solve this since I'm still new to coding. I have never changed anything in the currency.php and sale_order.php so I am not sure why I got this error. Please, I need help.

Newbie

Posts

Joined
Thu Jul 07, 2022 4:36 pm

Post by OSWorX » Thu Jul 07, 2022 5:33 pm

It seems that you or the provider has changed the php version (to 8.x)

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: No registered users and 50 guests