Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Undefined array key "itemsPerPage" in /vendor/extcode/cart/Classes/Controller/Backend/Order/OrderController.php line 72 #704

@seirerman

Description

@seirerman

Bug Report

Current Behavior

Whenever I open the order module in the TYPO3 backend a PHP warning is logged:

#1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: Undefined array key "itemsPerPage" in /var/dvt/html/t3lkd/vendor/extcode/cart/Classes/Controller/Backend/Order/OrderController.php line 72

This crashes the order module in when using the development context, but still works with the production context.

"itemsPerPage" is set for the frontend in

plugin.tx_cart.settings.itemsPerPage = 20
plugin.tx_cartproducts.settings.itemsPerPage = 25

Is there another place to set it for the backend that I missed, or is this a bug?

Environment

  • TYPO3 version: 12.4.37
  • cart version: 10.3.0
  • cart version: 6.2.0
  • Is your TYPO3 installation set up with Composer (Composer Mode): yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions