by axew3 » Mon May 06, 2024 9:42 pm
Hello! The template integration code do not interfere any way with wordpress in this case, also because you are not into page-forum. And the cookie setting seem ok.
The unique thing changed about and into the default wordpress it works fine anyway, is
/wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php
line 712
Code: Select all
if ( !defined( 'WP_ADMIN' ) ) // or throw Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "wp_w3all_phpbb_login" not found or invalid function name ...
{
//do_action( 'wp_login', $user->user_login, $user );
}
line
//do_action( 'wp_login', $user->user_login, $user );
was
do_action( 'wp_login', $user->user_login, $user );
but since you say it happen on default wp-login (so
WP_ADMIN should be defined) it should not be the problem (but you can try).
Hello! The template integration code do not interfere any way with wordpress in this case, also because you are not into page-forum. And the cookie setting seem ok.
The unique thing changed about and into the default wordpress it works fine anyway, is
[i]/wp-content/plugins/wp-w3all-phpbb-integration/[b]class.wp.w3all-phpbb.php[/b][/i]
line 712
[code] if ( !defined( 'WP_ADMIN' ) ) // or throw Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "wp_w3all_phpbb_login" not found or invalid function name ...
{
//do_action( 'wp_login', $user->user_login, $user );
}[/code]
line
[c]//do_action( 'wp_login', $user->user_login, $user );[/c]
was
[c]do_action( 'wp_login', $user->user_login, $user );[/c]
but since you say it happen on default wp-login (so [i]WP_ADMIN[/i] should be defined) it should not be the problem (but you can try).