Hello everyone,
I have a couple of days, that upgraded the version of PHP to 8.1.x *CS-Cart version 4.17.x)
Now, we are trying to pull cs-cart orders via API, but we are facing the below error:
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/vhosts/smartechs.gr/httpdocs/app/functions/fn.users.php on line 229
CSCart is upgraded to last version.
Is there any fix for that or any ideas how to fix?
Screenshot by Lightshot but I could not see any results… although the tabs have found. The PHP version is now 8.1.x (CS-Cart version 4.17.x Ultimate), but we do realize some small bugs I guess like this one. Any ideas?
I have created a new task for the developers to fix this. In the meantime, you can make the following changes to work around this problem:
Replace the following code: