knp-components icon indicating copy to clipboard operation
knp-components copied to clipboard

Exception: Attempted to call an undefined method named "setDefaultPaginatorOptions"

Open ssv445 opened this issue 1 year ago • 1 comments

Attempted to call an undefined method named "setDefaultPaginatorOptions" of class "Container8W2dAbR\PaginatorInterface_82dac15". iScreen Shoter - Brave Browser - 230906164105 iScreen Shoter - 20230906164159350

Configuration: PHP: 8.1.22 (Using Docker 8.1.22-apache) Symfony: 5.4.28 Xdebug & Opcache Enabled "knplabs/knp-components": "^3.6", "knplabs/knp-paginator-bundle": "^5.9",

If I add the definition of the setDefaultPaginatorOptions method in the PaginatorInterface (File: source/vendor/knplabs/knp-components/src/Knp/Component/Pager/PaginatorInterface.php), the issue gets resolved.

ssv445 avatar Sep 06 '23 11:09 ssv445