Warning: Creating default object from empty value

More
12 years 3 weeks ago - 12 years 3 weeks ago #23006 by Senga
I get the following error on maximenu module from a joomla install that I have:
"Warning: Creating default object from empty value in /home/mysite/public_html/modules/mod_maximenuck/helper.php on line 184

line 184= } else {
$parentItem->submenuswidth = strval($item->colwidth);
}
How to fix the code so that the warning no longer shows and to fix the problem once for all ?

Thanks,
Agnes
Last edit: 12 years 3 weeks ago by Senga. Reason: subscribe to topic

Please Log in or Create an account to join the conversation.

More
12 years 3 weeks ago #23010 by ced1870
Hi
it seems that you don't have the latest version of the module
if you don't want to update, go in your site configuration >> server >> error report and set it to none
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago - 8 years 9 months ago #47113 by ettolo
I have the same warning

Warning: Creating default object from empty value in /var/www/clients/client0/web8/web/modules/mod_maximenuck/helper.php on line 283

but i think i have an uptaded version (see attached file) Tryied updating the module to current version 8.2.11 but the error is still there
Can you help me?
Thank you!
Last edit: 8 years 9 months ago by ettolo.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #47114 by ced1870
Hi
few questions to try to find the problem :
1/ are you using the maximenu params or not ?
2/ are you using [col=xxx] in the item titles ?

please give me the anwsers, so that I can continue the investigation
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #47115 by ettolo
1/ No maximenu params module
2/ yes

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #47116 by ced1870
ok thanks :)
I will check

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.198 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 6366 guests and no members online