Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Important update for bbpress seo tools

Looks like

$row = $bbdb->get_row(“

SELECT um.meta_value AS role

FROM $bbdb->users AS u, $bbdb->usermeta AS um

WHERE u.ID = um.user_id

AND um.meta_key = ‘bb_capabilities’

AND u.user_status = 0

AND u.ID = $user_id

“);

returns NULL

I temporarly fixed this by adding:

if(is_array($arr)) { on line 177

and a closing bracket } on line 186 just before return $is_mod.

Skip to toolbar