Sorry my previous assertion, partially wrong, i should read better before to answer, sorry.
The fact that there is no valid callback, mean that the called function is not found.
function phpbb_register_url( $register_url ) {
on wp_w3all.php file.
As said, i tested with any plugin configuration and it is working fine, the function is not wrapped inside something that do not let it to be executed.
Did you changed something into wp_w3all.php file?
If not, it is obscure at moment the reason that it do not work in your case.
You could do this to check, or to resolve:
cut the entire function code:
Code: Select all
function phpbb_register_url( $register_url ) {
global $w3all_url_to_cms, $w3all_iframe_phpbb_link_yn, $wp_w3all_forum_folder_wp;
if( $w3all_iframe_phpbb_link_yn == 1 ){
$wp_w3all_forum_folder_wp = "index.php/" . $wp_w3all_forum_folder_wp;
$redirect = $wp_w3all_forum_folder_wp . '/?mode=register';
return $redirect;
} else { // register no iframe, direct link to phpBB
$redirect = $w3all_url_to_cms . '/ucp.php?mode=register';
return $redirect;
}
}
and paste it immediately after the line
Code: Select all
add_filter( 'register_url', 'phpbb_register_url', 10, 1);
I assume it is not a problem that can come out from server, but on how the code is executed.
Very strange.
Sorry my previous assertion, partially wrong, i should read better before to answer, sorry.
The fact that there is no valid callback, mean that the called function is not found.
[i] function phpbb_register_url( $register_url ) {[/i]
on wp_w3all.php file.
As said, i tested with any plugin configuration and it is working fine, the function is not wrapped inside something that do not let it to be executed.
Did you changed something into wp_w3all.php file?
If not, it is obscure at moment the reason that it do not work in your case.
You could do this to check, or to resolve:
cut the entire function code:
[code] function phpbb_register_url( $register_url ) {
global $w3all_url_to_cms, $w3all_iframe_phpbb_link_yn, $wp_w3all_forum_folder_wp;
if( $w3all_iframe_phpbb_link_yn == 1 ){
$wp_w3all_forum_folder_wp = "index.php/" . $wp_w3all_forum_folder_wp;
$redirect = $wp_w3all_forum_folder_wp . '/?mode=register';
return $redirect;
} else { // register no iframe, direct link to phpBB
$redirect = $w3all_url_to_cms . '/ucp.php?mode=register';
return $redirect;
}
}[/code]
and paste it immediately after the line
[code]add_filter( 'register_url', 'phpbb_register_url', 10, 1);[/code]
I assume it is not a problem that can come out from server, but on how the code is executed.
Very strange.