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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 515
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 224
  • Total: 224

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)

This website is proudly hosted on Crocweb Cloud Website Hosting.