• Welcome to Simple Machines Community Forum. Please login or sign up.
October 15, 2021, 08:10:13 PM


Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Error log says undefined variables in Display.template.php

Started by RockTreeSky, October 06, 2019, 10:02:53 PM

Previous topic - Next topic


My forum uses SMF 2.0.15
MySQL/Percona 5.6.41-84.1
PHP 7.2.7
Theme: Badem
only one Mod: SMF Likes Plus 1.5

I'm reactivating this old thread, because I'm trying to address error log messages, which look like the ones muratbora reported, also on the Badem theme.

File: /forum/Themes/badem/Display.template.php (main sub template - eval?)
8: Undefined variable: memCommID55
Line: 192
8: Undefined variable: ava
Line: 187

File:/forum/Themes/default/Login.template.php (body_above sub template - eval?)
8: Undefined index: title
Line: 422
undefined index: href
Line 423,

I have disabled Evaluation of Templates, and cleared out old errors, two hours ago.

I don't see the Login.template.php errors (yet?)
I'm still getting the Display.template.php errors about memCommID55 and ava being undefined variables.

New error log message:
hxxp:my-site.com/forum/index.php?topic=5129.msg36487 [nonactive]
8: Undefined variable: memCommID55
File: /...l/forum/Themes/badem/Display.template.php
Line: 192

hxxp:my-site/forum/index.php?topic=5129.msg36487 [nonactive]
8: Undefined variable: ava
File: /.../forum/Themes/badem/Display.template.php
Line: 187

So, I'm looking for where these two variable might be set,
Since I'm new to this, what kind of pattern does setting a variable look like?
Also, these variable are unique to Badem, they're not found in the default theme, right?
I'm still trying to figure out what the purpose of these variables is in Badem.

Edit: improve formatting.


1- split from the other thread because users should start their own threads...  reference an olkder one, but start your own.
2- SMF does not support PHP 7.2 at this time.
3- All of those errors are pretty much related to mods abd theme specific stuff, which reallt needs to be followed up in the thread dedicated to supporting the theme or mod
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."