error I don't understand

Started by iain sherriff, May 04, 2015, 08:21:53 AM

Previous topic - Next topic

iain sherriff

I am getting a few errors that I don't understand and can't contribute to one mod in particular.

All seem to happen when a member goes to thire profile area. One (3 instances) looks as if it could be realted to a tagging mod but the line mentioned in the error log doesn't exist ?


Apply Filter: Only show the error messages of this URL
http://***********.com/index.php?action=profile;area=summary;u=617
Apply Filter: Only show the errors with the same message
8: Undefined index: label
Apply Filter: Only show the errors from this file
File: /home3/f1162343/public_html/**********.com/Themes/default/languages/Tagging.english.php (generic_menu_dropdown_above sub template - eval?)
Line: 180


Another (2 instances)


Apply Filter: Only show the error messages of this URL
http://************.com/index.php?action=profile;area=forumprofile;updated
Apply Filter: Only show the errors with the same message
8: Undefined index: label
Apply Filter: Only show the errors from this file
File: /home3/f1162343/public_html/************.com/Themes/default/GenericMenu.template.php
Line: 180


points to this
foreach ($area['subsections'] as $sa => $sub)
{
if (!empty($sub['disabled']))
continue;

$url = isset($sub['url']) ? $sub['url'] : (isset($area['url']) ? $area['url'] : $menu_context['base_url'] . ';area=' . $i) . ';sa=' . $sa;

echo '
<li', (++$additional_items_sub > 6) ? ' class="additional_items"' : '' ,'>
>>>>>>> <a ', !empty($sub['selected']) ? 'class="active" ' : '', 'href="', $url, $menu_context['extra_parameters'], '"><span>', $sub['label'], '</span></a>
</li>';
}

echo '
</ul>';


(line 180 being indicated by >>>>>>>   )

Is there anything wrong with this code ? or any suggestions ?

thanks
SMF 2.0.12

Kindred

well, it would seem that one of your mods added content to the profile are and did not include all of the necessary data to define the new field
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

iain sherriff

Thanks..................I assume from that that you can see something added compared to the original code.
I'll compare and see what comes to light.
SMF 2.0.12

Kindred

no... actually, I don't see anything specific in the code -- but the unidentified "label" is part of the LIST that gets pulled... and each item on the list is part of an array and needs to have each sub-part defined.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

iain sherriff

Right......so a mod that has added something to the Profile page ?
or
a mod that is asking for something from the Profile ?

and whichever the mod is asking for somethign from that line of code ?

Hmm, think I'll search the specific support topics for each mod I have first. I'm only getting one or two errors a day at the moment

Thanks again
SMF 2.0.12

margarett

If you give us your list of installed MODs, we might suggest something ;)

edit: BTW, please disable templates evaluation and check again, one of the errors should change and maybe give us further info.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

iain sherriff

will do............. thanks.

(evaluation was disabled but I have enabled it now and will check errors again)
SMF 2.0.12

margarett

Ah, no. If it was disabled then nothing better will come up. Let us have that list of MODs ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

iain sherriff

Forum running 2.0.10

Quote1.    SimplePortal    2.3.6    [ Uninstall ]
2.    Social Login    3.3    [ Uninstall ]
3.    Bookmarks    2.5    [ Uninstall ]
4.    Responsive Curve    1.0 Beta 3    [ Uninstall ]
5.    No Log Certain User Errors    1.0    [ Uninstall ]
6.    @mention members    1.1.2    [ Uninstall ]
7.    SMF 1.1.21 / 2.0.10 Update    1.0    [ Uninstall ]
8.    Custom Copyright    1.0.4    [ Uninstall ]
9.    Tapatalk SMF 2.0 Plugin    4.2.0    [ Uninstall ]
10.    News Letter Mod for SMF2    1.25    [ Uninstall ]
11.    Ultimate Menu    1.0    [ Uninstall ]
12.    Remove "Last edit" mod    0.2.5    [ Uninstall ]
13.    Thank-o-matic    3.0    [ Uninstall ]
14.    Yet Another YouTube BBCode Tag    2.2    [ Uninstall ]
15.    Highslide Image Viewer    1.7    [ Uninstall ]
16.    Super Simple Thread Tags    1.1a    [ Uninstall ]
17.    Tagging System SMFSIMPLE    1.2    [ Uninstall ]
18.    Split Forum Mod    1.21    [ Uninstall ]
SMF 2.0.12

margarett

I would suggest either Social Login or @mention members. Those I'm sure that they add stuff to profile page...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

iain sherriff

OK, thanks....I'll explore  :)
SMF 2.0.12

iain sherriff

Uninstalled @mentionmembers a few days ago and the errors continue.
Put it back and uninstalled socia llogin today..............
SMF 2.0.12

iain sherriff

 :( errors continue with social login uninstalled as well
SMF 2.0.12

iain sherriff

I just checked with a test user account.
The error is triggered just by accessing the profile page (I just clicked on the menu link and looked at profile).
I don't see any errors loged for the other admin or myself.

If thaat helps at all ....................... ?
SMF 2.0.12

margarett

Maybe try to uninstall 17.    Tagging System SMFSIMPLE    1.2 ?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

iain sherriff

Guess I can just work through all the mods now I know what triggers the error  :)
SMF 2.0.12

iain sherriff

been through all the mods now. Uninstalling one at a time, the error is present in every case.

and replicated everything on a test board, where I DONT get the error !

Maybe some bits of an old mod left behind ?
SMF 2.0.12

margarett

Maybe you can attach your Profile.php?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

iain sherriff

SMF 2.0.12

margarett

Hmmm no, nothing strange there...

Please go to phpmyadmin, table smf_settings (be sure to show all rows) and see if you find a row like "integrate_profile_areas". If so, what value does it have?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Advertisement: