Php 前端的预启动错误

Php 前端的预启动错误,php,prestashop,Php,Prestashop,我有一个PrestaShop安装,它在前端显示以下错误: Notice: Undefined offset: 0 in /home/username/public_html/modules/categoriesnc/categoriesnc.php on line 1677 Warning: array_key_exists() expects parameter 2 to be array, null given in /home/username/public_html/modules/c

我有一个PrestaShop安装,它在前端显示以下错误:

Notice: Undefined offset: 0 in /home/username/public_html/modules/categoriesnc/categoriesnc.php on line 1677

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/username/public_html/modules/categoriesnc/categoriesnc.php on line 1677
categoriesnc.php中的第1677行有:

for ($i = 2; $i <= ($max_depth > 0 && $max_depth < $depth ? $max_depth : $depth) && array_key_exists('lev'.$i, $result[0]); $i++)
$breadcrumbs[] = $result[0]['lev'.$i];

有关于如何解决的建议吗?

您可以关闭错误报告以不再看到该消息。但这是一个定制的非标准Prestashop模块,因此我会与开发人员联系,告知错误。它们只是警告信息,如果没有地址,它们不会伤害任何东西