Elkarte
Elkarte copied to clipboard
Undefined index: actual_theme_dir
Type of error: Undefined
Notice: Undefined index: actual_theme_dir
index.php?action=register;sa=usernamecheck;xml;username=MauroK
File: /public/sources/Load.php
Line: 2454
ref https://www.elkarte.net/community/index.php?topic=5204.0
It has been reported other times, I've never been able to find the root cause of this.
Just to note that reply #8 says adding require_once(SUBSDIR . '/Members.subs.php'); just before the foreach should solve that issue. Not tested though.
Does anyone know what actual_theme_dir actually is? I don't understand it.
Reply number 8 was already committed by spuds as he mentioned that in the last reply of the thread.
As near as I can tell, actual_theme_dir was a copy of theme_dir introduced in SMF 1.0 or so to resolve language files. I think it could be cleared out with a system that addresses #3287
A 1.1.x fix could be to detect if the various elements getting assigned to the actual_ variables in initTheme are empty and if so, pass in the ddefault theme's data instead.