Blog

Thursday, 11 October 2018 09:58

Helix3 Plugins Causing Joomal Menu To Not Work - 0 Cannot Use Object Of Type StdClass As Array

Written by 

After an update to Joomla 3.8.10 some users are getting errors and they can not use the menu.

 

Screen pops up the following error message

Cannot Use Object Of Type StdClass As Array

 

The solution is quite simple:

Edit the file "helix3.php" (plugins/system/helix3/helix3.php)

 

And add the following code on 50 line:

if (is_object($data)) {

           $data = (array)$data;

}

After the line: JForm::addFormPath(JPATH PLUGINS.'...)

And before the line: if ($form->getName()=='com_menus.item')

Read 900362 times