There was an error while loading. Please reload this page.
1 parent 9f424a8 commit eecd424Copy full SHA for eecd424
Block/Data/Product.php
@@ -146,7 +146,7 @@ protected function getProductCategoryName()
146
protected function getBreadCrumbPath()
147
{
148
$titleArray = [];
149
- $breadCrumbs = $this->catalogHelper->getBreadcrumbPath();
+ $breadCrumbs = $this->catalogHelper->getBreadcrumbPath() ?? [];
150
151
foreach ($breadCrumbs as $breadCrumb) {
152
$titleArray[] = $breadCrumb['label'];
0 commit comments