When trying to create a status, I get the following error I'm using Drupal 7.14:

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /statuses/ajax
StatusText: Service unavailable (with message)
ResponseText: PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens: SELECT SUM(points) FROM {userpoints_txn}
WHERE uid = :uid AND time_stamp > :time_stamp
AND (operation = :(operation OR operation = :operation)
AND expired = :expired AND status = :status; Array
(
[:uid] => 1
[:time_stamp] => 1337677040
[:(operation] => statuses add own
[:operation] => statuses add other
[:expired] => 0
[:status] => 0
)
in fbss_userpoints_statuses_save() (line 110 of /home/tnewhook/webSites/exoticLang/sites/all/modules/statuses/submodules/fbss_userpoints/fbss_userpoints.module).

Comments

icecreamyou’s picture

Title: AJAX error » Userpoints integration causes PDOException when status saved
Component: User interface » Integrations
Status: Active » Postponed (maintainer needs more info)

Please use the dev build before reporting bugs as I believe this has been fixed -- and you should probably disable the FBSS Userpoints integration submodule for now as it has not yet been completely upgraded for full D7 support. (More info here although a few of those things have already been addressed.)

mathankumarc’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Its already fixed #1483616: Userpoints Integration. This is the first issue I fixed after getting the Co - Maintainer access. How can I forget this?

tnewhook’s picture

Thanks for the response - I saw on a forum that the problem was fixed, but I didn't realize it was in the dev version, and not the main one.