History/Undo on cart plugin shows error
Bug Report
Current Behavior Try to open "history/undo" on ext:cart plugin
Expected behavior/output Should show history
Environment
- TYPO3 version(s): 12.4.23
- cart version: 9.1.1
- Is your TYPO3 installation set up with Composer (Composer Mode): yes
- OS: OSX
Open history/undo on a ext:cart plugin shows error in backend: Extcode\Cart\Hooks\ItemsProcFunc::getPageId(): Argument #1 ($pid) must be of type int, null given, called in ......../vendor/extcode/cart/Classes/Hooks/ItemsProcFunc.php on line 41
What about this Issue? Any updates? Thanks for Information.
@danieljanek78 I can't reproduce the error. I can click the "History/Undo" option from the context menu of the cart plugin and see all the versions available.
Can you provide a test setup, at least a database with the necessary tables and datasets? In the best case you can provide a running ddev setup so that I can find the cause of the error. Perhaps you can describe a step by step instruction how to reproduce the error.
Otherwise, I would assume that somehow the data for this option has been corrupted.