- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2019
05:46 AM
08-28-2019
05:46 AM
Magento 2.3.2: Uncaught Error: Call to a member function setUseContainer() on boolean
I'm facing this error when i try to login as customer, when i go back or at Home i was logged in but every time i logout & login back, i face this error, don't know why.
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2019
07:56 AM
08-29-2019
07:56 AM
Re: Magento 2.3.2: Uncaught Error: Call to a member function setUseContainer() on boolean
I'm getting this as well. Did you find a solution? I'm stepping through code now and will post solution when I find it
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2019
08:38 AM
08-29-2019
08:38 AM
Re: Magento 2.3.2: Uncaught Error: Call to a member function setUseContainer() on boolean
Ok, solution for me was to add pager again with a different name then alias it back, i.e.
<block class="Magento\Wishlist\Block\Customer\Wishlist" name="gtm.datalayer.wishlist" template="XXXXX_Analytics::datalayer/wishlist.phtml" cacheable="false">
<block class="Magento\Theme\Block\Html\Pager" name="gtm.datalayer.wishlist.item.pager" as="wishlist_item_pager"/>
</block>