TinyPortal

Development => Support => Topic started by: stog on March 15, 2017, 10:42:26 AM

Title: Undefined variable: modSettings error
Post by: stog on March 15, 2017, 10:42:26 AM
hi -- i have a smf 2.0.13 with tp 1.2 and after disabling template eval.i am getting undefined errors
http://www.---.com/index.php?
8: Undefined variable: modSettings
File: /home/--------/htdocs/Themes/default/TPsubs.template.php(127) : eval()'d code
Line: 42


any ideas

thx in advance
Title: Re: Undefined variable: modSettings error
Post by: illori on March 15, 2017, 10:58:42 PM
you got a reply on sm.org your issue does not seem related to this mod.
Title: Re: Undefined variable: modSettings error
Post by: stog on March 16, 2017, 02:38:32 PM
Well, the answer turned out to be in a TP code block in which I didn't globalise $modSettings.

thx -- wierd how when template error unchecked -- the error  pointed to membermap? (turns out that $modSettings isn't globalised in the membermap settings)