line 370 is here:
PHP Code:
$breadcrumb_this_page = $breadcrumb->_trail[count($breadcrumb->_trail) - 1]['title'] ?? '';
https://github.com/torvista/Zen_Cart..._data.php#L370
my guess is the you are running a version of php less than 7.0 which makes use of the coalesce (??) operator.
if so, you probably should upgrade your php version and perhaps your version of ZC as php versions less than 7.0 have been end of life for quite some time.
alternatively, you could try changing the code to:
PHP Code:
$breadcrumb_this_page = '';
if (isset($breadcrumb->_trail[count($breadcrumb->_trail) - 1]['title']) {
$breadcrumb_this_page = $breadcrumb->_trail[count($breadcrumb->_trail) - 1]['title'];
}
if line 370 is something different, feel free to ignore everything i said!
best.
Bookmarks