我希望有人能帮助我..我尝试在joomla菜单中打开一个新条目并得到以下错误输出:
0不能将stdClass类型的对象用作数组
/mnt/web208/e2/01/56797301/htdocs/plugins/system/helix3/helix3.php:55
函数位置1()JROOT / plugins / system / helix3 / helix3.php:55 2 plgSystemHelix3-> onContentPrepareForm()JROOT / libraries / joomla / event / event.php:70
3 JEvent-> update()JROOT / libraries / joomla / event / dispatcher.php:160 4 JEventDispatcher-> trigger()JROOT / libraries / src / MVC / Model / FormModel.php:321 5 Joomla \ CMS \ MVC \ Model \ FormModel-> preprocessForm()JROOT / administrator / components / com_menus / models / item.php:1254 6 MenusModelItem-> preprocessForm()JROOT / libraries / src / MVC / Model / FormModel.php:242 7 Joomla \ CMS \ MVC \ Model \ FormModel-> loadForm()JROOT / administrator / components / com_menus / models / item.php:552 8 MenusModelItem-> getForm()JROOT / libraries / src / MVC / View / HtmlView.php:423 9 Joomla \ CMS \ MVC \ View \ HtmlView-> get()JROOT / administrator / components / com_menus / views / item / view.html.php:58 10 MenusViewItem-> display()JROOT / libraries / src / MVC / Controller / BaseController.php:672 11 Joomla \ CMS \ MVC \ Controller \ BaseController-> display()JROOT / administrator / components / com_menus / controller.php:75 12 MenusController-> display()JROOT / libraries / src / MVC / Controller / BaseController.php:710 13 Joomla \ CMS \ MVC \ Controller \ BaseController-> execute()JROOT / administrator / components / com_menus / menus.php:18 14 require_once()JROOT / libraries / src / Component / ComponentHelper.php:382 15 Joomla \ CMS \ Component \ ComponentHelper :: executeComponent()JROOT / libraries / src / Component / ComponentHelper.php:357 16 Joomla \ CMS \ Component \ ComponentHelper :: renderComponent()JROOT / libraries / src / Application / AdministratorApplication.php:101 17 Joomla \ CMS \ Application \ AdministratorApplication-> dispatch()JROOT / libraries / src / Application / AdministratorApplication.php:159 18 Joomla \ CMS \ Application \ AdministratorApplication-> doExecute()JROOT / libraries / src / Application / CMSApplication.php:195 19 Joomla \ CMS \ Application \ CMSApplication-> execute()JROOT / administrator / index.php:51
答案 0 :(得分:0)
第55行的文件helix3.php中发生错误。将显示的符号(“ helix3.php:55”,带引号)插入Google会产生此页面,作为第一个结果:
此网站声明这是一个已知的错误,即将发布更新。尝试更新插件,或按照说明修改helix3.php文件。
并且在发布问题之前,请使用Google(或您喜欢的其他搜索引擎)。文件名+行号以及路径和错误消息的第一句话使搜索词更出色。
PS:欢迎使用StackOverflow!