cancel
Showing results for 
Search instead for 
Did you mean: 

Exception displayed on clicking edit rule button for some of the conditions

Exception displayed on clicking edit rule button for some of the conditions

1. Log in to magento application with given credentials.
2. Navigate to Marketing> Cart price rules
3. click on Add new rule button
4. Enter the rule name and other information
5. click on conditions section
6. select the conditions as per below
If ALL of these conditions are TRUE :
If an item is FOUND in the cart with ALL of these conditions true: 
Style Bags is one of ...

Leave blank after the last condition as it is mentioned in the first line that "Apply the rule only if the following conditions are met (leave blank for all products)."
7. Save the rule
8. click on Edit rule

[Actual result]
Edit rule page is not displayed and warnings displayed on screen like 
1 exception(s):
Exception #0 (Exception): Warning: iconv_strlen() expects parameter 1 to be string, array given in /var/www/html/vendor/magento/framework/Stdlib/StringUtils.php on line 151

also user is never able to edit that rule further.