-
-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Labels
11.xrelated to TYPO3 v13related to TYPO3 v13
Description
Bug Report
Current Behavior
When adding a Product (from the cart_products extension) to the cart, a TYPO3 exception is thrown.
TYPO3\CMS\Extbase\Mvc\Controller\ActionController::addFlashMessage(): Argument #3 ($severity)
must be of type TYPO3\CMS\Core\Type\ContextualFeedbackSeverity, int given, called in
/typo3conf/ext/cart/Classes/Controller/Cart/ProductController.php on line 125
Expected behavior/output
Adding a product to the cart should not throw a TYPO3 exception.
Environment
- TYPO3 version: 13.4.7
- cart version: 11.3.0
- Is your TYPO3 installation set up with Composer (Composer Mode): no
Possible Solution
Change line 54 in Classes/Controller/Cart/PorductController.php from $severity = ContextualFeedbackSeverity::OK->value; to $severity = ContextualFeedbackSeverity::OK;
Metadata
Metadata
Assignees
Labels
11.xrelated to TYPO3 v13related to TYPO3 v13