Failed creating a donor
-
Hello, I have a big problem with donations. No matter which method the user chooses, after the donation, the loading continues indefinitely and I have this error in the logs:
Failed creating a donor
{
"donor": {
"Object Class": "Give\Donors\Models\Donor",
"\u0000\u0000attributes": { "id": null, "userId": null, "createdAt": null, "name": "Daniele Leonetti", "firstName": "Daniele", "lastName": "Leonetti", "email": "[email protected]", "phone": "", "prefix": "", "additionalEmails": [], "totalAmountDonated": null, "totalNumberOfDonations": null }, "\u0000\u0000original": {
"id": null,
"userId": null,
"createdAt": null,
"name": "Daniele Leonetti",
"firstName": "Daniele",
"lastName": "Leonetti",
"email": "[email protected]",
"phone": "",
"prefix": "",
"additionalEmails": [],
"totalAmountDonated": null,
"totalNumberOfDonations": null
},
"\u0000\u0000properties": { "id": "int", "userId": [ "int", 0 ], "createdAt": "DateTime", "name": "string", "firstName": "string", "lastName": "string", "email": "string", "phone": "string", "prefix": "string", "additionalEmails": [ "array", [] ], "totalAmountDonated": "Give\Framework\Support\ValueObjects\Money", "totalNumberOfDonations": "int" }, "\u0000\u0000relationships": {
"donations": "has-many",
"subscriptions": "has-many"
},
"\u0000Give\Framework\Models\Model\u0000cachedRelations": []
}
}Additionally, I often get this error:
Uncaught database exception
{
"Query": "SELECT id, user_id AS userId, email, phone, name, purchase_value AS totalAmountDonated, purchase_count AS totalNumberOfDonations, payment_ids AS paymentIds, date_created AS createdAt, token, verify_key AS verifyKey, verify_throttle AS verifyThrottle, give_donormeta_attach_meta_firstName.meta_value AS firstName, give_donormeta_attach_meta_lastName.meta_value AS lastName, give_donormeta_attach_meta_prefix.meta_value AS prefix FROM wp_give_donors LEFT JOIN wp_give_donormeta give_donormeta_attach_meta_firstName ON ID = give_donormeta_attach_meta_firstName.donor_id AND give_donormeta_attach_meta_firstName.meta_key = '_give_donor_first_name' LEFT JOIN wp_give_donormeta give_donormeta_attach_meta_lastName ON ID = give_donormeta_attach_meta_lastName.donor_id AND give_donormeta_attach_meta_lastName.meta_key = '_give_donor_last_name' LEFT JOIN wp_give_donormeta give_donormeta_attach_meta_prefix ON ID = give_donormeta_attach_meta_prefix.donor_id AND give_donormeta_attach_meta_prefix.meta_key = '_give_donor_title_prefix' WHERE user_id = '1'",
"Query Errors": {
"db_delta_error": [
"Unknown column 'phone' in 'field list'"
]
}
}The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.