Bug in M2 Gallery Extension: Working with disabled breadcrumbs

Created by Robin Hoang, Modified on Mon, 31 Jul, 2017 at 4:28 PM by Nicole Le


Question: 

When I try going to gallery, I get an error message:
Fatal error: Call to a member function addCrumb() on boolean in /home/paramoun/public_html/app/code/Bss/Gallery/Controller/Index/Index.php on line 67.



Answer: 

To solve this issue, could you please edit the file below on your site?
This is the path of file:
file/app/code/Bss/Gallery/Controller/Index/Index.php

After this line: $breadcrumbs = $resultPage->getLayout()->getBlock('breadcrumbs'); please add this code into line 67 - 68: if(!$breadcrumbs) return $resultPage;

Please note that, it's just the solution for your reference.
Updated: This issue has fixed and updated module on version 1.0.1


For more information about product, please refer Magento 2 Gallery Extension page.
If you need any further assistance, please feel free to contact us.

Please visit our site for more useful Magento 2 Extensions: https://bsscommerce.com/magento-2-extensions.html


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article