Unable to purchase point as anonymous user

4 posts / 0 new
Last post
yama
yama's picture
Unable to purchase point as anonymous user

From what I understand if a anonymous user buy points the jobboard should create an account and send and email with account details.

At the moment it is not working and i am getting error.

The website encountered an unexpected error. Please try again later.

Notice: Trying to get property of non-object in userpoints_action_grant_points() (line 189 of /var/www/vhosts/xxxxx/httpdocs/dev/sites/all/modules/userpoints/userpoints_rules.rules.inc).
Notice: Trying to get property of non-object in userpoints_action_grant_points() (line 189 of /var/www/vhosts/xxxxxx/httpdocs/dev/sites/all/modules/userpoints/userpoints_rules.rules.inc).
PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: 'Yes I am Agree' for column 'delta' at row 1: INSERT INTO {field_data_field_please_indicate_that_you_h} (entity_type, entity_id, revision_id, bundle, delta, language, field_please_indicate_that_you_h_value) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( [:db_insert_placeholder_0] => user [:db_insert_placeholder_1] => 78 [:db_insert_placeholder_2] => 78 [:db_insert_placeholder_3] => user [:db_insert_placeholder_4] => Yes I am Agree [:db_insert_placeholder_5] => und [:db_insert_placeholder_6] => Yes I am Agree ) in field_sql_storage_field_storage_write() (line 514 of /var/www/vhosts/xxxxx/httpdocs/dev/modules/field/modules/field_sql_storage/field_sql_storage.module).

support
support's picture
Hi there Yama:

Hi there Yama:

Do you mind taking a look at this issue and let me know if your setup is OK: http://doublemthemes.com/comment/3110#comment-3110

Best!!!

yama
yama's picture
Hi Dear,

Hi Dear,

on the link above the user face problem while posting a job.

In case i face the problem when purchasing points as anonymous user.

From what i understand, If someone try to purchase points as an anonymous, The system should processed with the request and if the purchase was successful an accounts should be create and the account login details should be send to user's email.

I noticed there is already a rule "Create a new account for an anonymous order" to do this, can't figure out the problem.

Error: Notice: Trying to get property of non-object in userpoints_action_grant_points() (line 189 of /var/www/vhosts/xyz/xx/sites/all/modules/userpoints/userpoints_rules.rules.inc).
Notice: Trying to get property of non-object in userpoints_action_grant_points() (line 189 of /var/www/vhosts/xyz/xx/f/sites/all/modules/userpoints/userpoints_rules.rules.inc).

Thanks

yama
yama's picture
Update

I just noticed that this happen if anonymous user enter the email which already exist in the system.

I noticed there is a rule Assign an anonymous order to a pre-existing user, which is not working at all.

also when an anonymous user purchase point, the system dosen't create an account and dosen't send emails to the user.

Log in to post comments