You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rule engine should be able to support dates attributes (like created_at, updated_at).
Actually, if I configure one of these attributes as "Used for promo rules = Yes", I can see them in the rule engine when creating a virtual category, but selecting them triggers the following error :
[2024-04-18T07:21:52.492644+00:00] main.ERROR: Deprecated Functionality: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /var/www/html/vendor/magento/module-rule/Model/Condition/AbstractCondition.php on line 684 [] []
There should not be any error, and we should be able to select a date as value with a date picker.
Of course, the resulting query should work.
The text was updated successfully, but these errors were encountered:
The rule engine should be able to support dates attributes (like created_at, updated_at).
Actually, if I configure one of these attributes as "Used for promo rules = Yes", I can see them in the rule engine when creating a virtual category, but selecting them triggers the following error :
[2024-04-18T07:21:52.492644+00:00] main.ERROR: Deprecated Functionality: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /var/www/html/vendor/magento/module-rule/Model/Condition/AbstractCondition.php on line 684 [] []
There should not be any error, and we should be able to select a date as value with a date picker.
Of course, the resulting query should work.
The text was updated successfully, but these errors were encountered: