Magento 'actions_hint_label' cannot be null

Job ID: 31243010

Budget: $50 – $0 USD

I run Magento 2.4.2-1p. We are not able to add Cart Price Rules. If we try, we get "Something went wrong while saving the rule data. Please review the error log.".

By further checking the error logs, I can see the error

[2021-08-22 09:33:45] main.CRITICAL: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'actions_hint_label' cannot be null, query was: INSERT INTO `salesrule` (`rule_id`, `name`, `description`, `from_date`, `to_date`, `uses_per_customer`, `is_active`, `conditions_serialized`, `actions_serialized`, `stop_rules_processing`, `product_ids`, `sort_order`, `simple_action`, `discount_amount`, `discount_qty`, `discount_step`, `apply_to_shipping`, `is_rss`, `coupon_type`, `use_auto_generation`, `uses_per_coupon`, `simple_free_shipping`, `action_details_serialized`, `discount_order_type`, `actions_hint_label`, `promo_block_title_in_product`, `promo_block_set_name`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NULL, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) {"exception":"[object] (Zend_Db_Statement_Exception(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'actions_hint_label' cannot be null, query was: INSERT INTO `salesrule` (`rule_id`, `name`, `description`, `from_date`, `to_date`, `uses_per_customer`, `is_active`, `conditions_serialized`, `actions_serialized`, `stop_rules_processing`, `product_ids`, `sort_order`, `simple_action`, `discount_amount`, `discount_qty`, `discount_step`, `apply_to_shipping`, `is_rss`, `coupon_type`, `use_auto_generation`, `uses_per_coupon`, `simple_free_shipping`, `action_details_serialized`, `discount_order_type`, `actions_hint_label`, `promo_block_title_in_product`, `promo_block_set_name`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NULL, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) at /var/www/xxx/vendor/magento/framework/DB/Statement/Pdo/Mysql.php:110, PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'actions_hint_label' cannot be null at /var/www/xxx/vendor/magento/framework/DB/Statement/Pdo/Mysql.php:91)"} []


Need help urgent (TODAY).
Related categories: PHP Magento Software Architecture MySQL Magento 2