Ive patched and am using the 3.x branch of flag user points

I think something has changed in a recent flag update as this module use to work on my site but not anymore

When i try flag a taxonomy term now i receive the following error:

Notice: Undefined variable: author_uid in userpoints_flag_flag() (line 165 of /home/pcm/public_html/sites/all/modules/userpoints_flag/userpoints_flag.module).
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pcm_drupal.flag_content' doesn't exist: SELECT COUNT(*) FROM {flag_content} WHERE uid = :uid AND fid = :fid AND timestamp > :time; Array ( [:uid] => 208 [:fid] => 2 [:time] => 1406698595 ) in _userpoints_flag_within_limit() (line 294 of /home/pcm/public_html/sites/all/modules/userpoints_flag/userpoints_flag.module).

Comments

Anybody’s picture

Status: Active » Postponed (maintainer needs more info)

U seem to be using the 7.x-1.x-dev version as it seems. In the 7.x-3.x-dev version there is no code in line 165 of userpoints_flag.module. It's an empty line. Please check your version.