Error on the checkout page
-
After switching user, when visiting the checkout, the following error is displayed:
PHP Fatal error: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, array given in /nas/content/live/website/wp-includes/formatting.php:445
It seems that an array is being passed instead of a string to the wc_get_formatted_cart_item_data function which breaks the checkout page.This error is only visible when browsing the site after switching users using this plugin.
Could you please take a look and correct the error?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Error on the checkout page’ is closed to new replies.