Javascript 无法删除opencart中的通知

Javascript 无法删除opencart中的通知,javascript,php,opencart,Javascript,Php,Opencart,我为它安装了opencart和数据库。opencart的默认主题工作正常,但当我上传新主题时,它会显示警告 Notice: Undefined variable: position in /home/gadgets/public_html/site/catalog/view/theme/projectstore/template/module/featured.tpl on line 1 Notice: Undefined variable: position in /home/gadgets/

我为它安装了opencart和数据库。opencart的默认主题工作正常,但当我上传新主题时,它会显示警告

Notice: Undefined variable: position in /home/gadgets/public_html/site/catalog/view/theme/projectstore/template/module/featured.tpl on line 1
Notice: Undefined variable: position in /home/gadgets/public_html/site/catalog/view/theme/projectstore/template/module/featured.tpl on line 1
Notice: Undefined variable: position in /home/gadgets/public_html/site/catalog/view/theme/projectstore/template/module/featured.tpl on line 93
Notice: Undefined variable: position in home/gadgets/public_html/site/catalog/view/theme/projectstore/template/module/featured.tpl on line 93
我不知道还能做什么。主题很好,只是它显示了这些警告,有没有办法隐藏或删除这个


提前感谢。

不要将错误报告设置为0。这不是一个解决方案,它只是掩盖了仍将发生的问题。你需要做的是与你的主题开发者取得联系,并要求他们修复错误。这很可能是因为主题与您的商店版本不兼容,但可能只是开发人员在创建主题时忽略的一个问题