Having trouble with the pubsub functionality

While using pubsub with odbc, I've created a node, subscribed a user and assigned it as a member and configured the user to receive deliveries. Everything seems to be ok in the database's pubsub_subscription_opt field where the DELIVER option name of that subscription is 1. However, every time I try to publish to that node this error appears:

[error] <0.30670.41>@mod_pubsub:transaction_retry:4180 transaction return internal error: 
{aborted,{function_clause,
[{pubsub_db_odbc,subscription_opt_from_odbc,[[<<"DELIVER">>,<<"1">>]],
[{file,"src/pubsub_db_odbc.erl"},{line,74}]},{lists,map,2,[{file,"lists.erl"},{line,1237}]},
{pubsub_db_odbc,read_subscription,1,[{file,"src/pubsub_db_odbc.erl"},{line,45}]},
{pubsub_subscription_odbc,get_subscription,3,[{file,"src/pubsub_subscription_odbc.erl"},{line,107}]},
{mod_pubsub,'-get_options_for_subs/3-fun-0-',4,[{file,"src/mod_pubsub.erl"},{line,3414}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1261}]},
{mod_pubsub,'-get_node_subs_by_depth/3-lc$^1/1-1-',2,[{file,"src/mod_pubsub.erl"},{line,3403}]},
{mod_pubsub,'-get_node_subs_by_depth/3-lc$^0/1-0-',2,[{file,"src/mod_pubsub.erl"},{line,3403}]}]}}

I'm not really sure what's causing this error.

Syndicate content