TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 01, 2024, 05:37:24 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,174
  • Total Topics: 21,220
  • Online today: 160
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 166
  • Total: 166

Undefined variable: modSettings error

Started by stog, March 15, 2017, 10:42:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stog

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

illori

you got a reply on sm.org your issue does not seem related to this mod.

stog

#2
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)