Yes there are warnings errors into the last release of the phpbbwordpress extension
file
/ext/w3all/phpbbwordpress/event/main_listener.php
this line (250):
Code: Select all
if( $e['user_row']['user_new'] != 1 OR $e['user_row']['user_inactive_reason'] != 0 )
should so be instead:
Code: Select all
if( isset($e['user_row']['user_new']) && $e['user_row']['user_new'] != 1 OR isset($e['user_row']['user_inactive_reason']) && $e['user_row']['user_inactive_reason'] != 0 )
but there is another i've discover yesterday night (same problem, a warning in certain cases)
line 135:
Code: Select all
if(isset($wpBF_ary[$this->user->data['user_id']]){
should be instead:
Code: Select all
if(isset($this->user->data['user_id']) && isset($wpBF_ary[$this->user->data['user_id']])){
also, the redirect after login in phpBB presents some problem, so that at the end of this week it will be released a new fixed version 2.0.2.
Ps you can apply changes into the file, without having to rebuild or delete ext data. Applied changes into the listener file will take effect without further actions
Yes there are warnings errors into the last release of the phpbbwordpress extension
file
[i]/ext/w3all/phpbbwordpress/event/[b]main_listener.php[/b][/i]
this line (250):
[code]if( $e['user_row']['user_new'] != 1 OR $e['user_row']['user_inactive_reason'] != 0 )[/code]
should so be instead:
[code] if( isset($e['user_row']['user_new']) && $e['user_row']['user_new'] != 1 OR isset($e['user_row']['user_inactive_reason']) && $e['user_row']['user_inactive_reason'] != 0 )[/code]
but there is another i've discover yesterday night (same problem, a warning in certain cases)
line 135:
[code]if(isset($wpBF_ary[$this->user->data['user_id']]){[/code]
should be instead:
[code]if(isset($this->user->data['user_id']) && isset($wpBF_ary[$this->user->data['user_id']])){[/code]
also, the redirect after login in phpBB presents some problem, so that at the end of this week it will be released a new fixed version 2.0.2.
Ps you can apply changes into the file, without having to rebuild or delete ext data. Applied changes into the listener file will take effect without further actions