https://www.icyphoenix.com/viewtopic.php?f=35&t=8593
-----------------------------------
Informpro
Mon 30 Jul, 2012 16:56

Fix For [Icy Phoenix Debug] PHP Notice: In File /includes/usercp_signature.php On Line 23: Creating Default Object From
-----------------------------------
OPEN[code]includes/usercp_signature.php[/code]
FIND[code]$bbcode->allow_html = $html_on;[/code]
[b]BEFORE[/b], ADD[code]include(IP_ROOT_PATH . 'includes/bbcode.' . PHP_EXT);[/code]


-----------------------------------
Mighty Gorgon
Mon 30 Jul, 2012 21:27

Re: Fix For [Icy Phoenix Debug] PHP Notice: In File /includes/usercp_signature.php On Line 23: Creating Default Object From
-----------------------------------
It seems very strange that it wasn't working fine... anyway, thanks for the fix.


-----------------------------------
mort
Tue 31 Jul, 2012 03:05

Re: Fix For [Icy Phoenix Debug] PHP Notice: In File /includes/usercp_signature.php On Line 23: Creating Default Object From
-----------------------------------
usercp_signature.php already has this at:

Line 55: include_once(IP_ROOT_PATH . 'includes/bbcode.' . PHP_EXT);
Line 56: include_once(IP_ROOT_PATH . 'includes/functions_post.' . PHP_EXT);

Is there some reason that they can't be moved to Line 16 etc before the functions/script starts - rather than call it twice?


-----------------------------------
Mighty Gorgon
Tue 31 Jul, 2012 09:26

Re: Fix For [Icy Phoenix Debug] PHP Notice: In File /includes/usercp_signature.php On Line 23: Creating Default Object From
-----------------------------------
Thanks for highlighting that, I have reviewed the code, I will update GIT as soon as I have tested it.


-----------------------------------
mort
Tue 31 Jul, 2012 10:51

Re: Fix For [Icy Phoenix Debug] PHP Notice: In File /includes/usercp_signature.php On Line 23: Creating Default Object From
-----------------------------------
You're welcome - Anything to help if possible.  :mryellow:


