Kunena Menu
Warning: Creating default object from empty value
12 years 3 weeks ago - 12 years 3 weeks ago #23006
by Senga
Warning: Creating default object from empty value was created 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
"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.
12 years 3 weeks ago #23010
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Warning: Creating default object from empty value
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
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.
8 years 9 months ago - 8 years 9 months ago #47113
by ettolo
Replied by ettolo on topic Warning: Creating default object from empty value
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!
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.
8 years 9 months ago #47114
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Warning: Creating default object from empty value
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
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.
8 years 9 months ago #47115
by ettolo
Replied by ettolo on topic Warning: Creating default object from empty value
1/ No maximenu params module
2/ yes
2/ yes
Please Log in or Create an account to join the conversation.
8 years 9 months ago #47116
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Warning: Creating default object from empty value
ok thanks 
I will check
I will check
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.202 seconds




