I inherited the forum maintenance from someone else, so I don't have a clear picture yet. (and this problem never happened until we installed TinyPortal, so there is some incompatibility there...)
Anyway:
this is TinyPortal/Integrate.php with 3 params, 2 of which aren't even used in that function:
public static function hookRedirect(&$setLocation, &$refresh, &$permanent)
According to the stack trace, it gets called from Sources/Subs.php on line 5772 with
$results[$function] = call_user_func_array($call, $parameters);
and only 2 prams?!
which in turn gets called by this line in some custom code which I haven't written:
call_integration_hook('integrate_redirect', array(&$setLocation, &$refresh));
I'm afraid my PHP understanding is rather limited, I'm more a Java/JS/Python guy, so I really don't understand how these hooks work. I just interpreted the different function signatures as not matching and thus removed the apparently superfluous/unused 3rd param in hookRedirect to make it work as a short-term hack for the site.
I can only guess that this call_integration_hook needs a 3rd parameter?! Whatever &$permanent may be in hookRedirect.
And by the way: I accidentally misspelled my nickname for this forum and can't seem to change it, letter swap, should be Arminus
Thanks for helping!