General error: 1364 Field 'description' doesn't have a default value

Created on 10 June 2013, almost 12 years ago
Updated 23 October 2023, over 1 year ago

I'm using Drupal 7.22 and Ubercart Payment, Payment for Ubercart and Stripe.

Selecting Stripe in the list of methods when checking out causes the following errors:

TYPE
payment

LOCATION
http://d7.illustrato.rs/system/ajax

REFERRER
http://d7.illustrato.rs/shopping-cart/checkout

MESSAGE
PDOException: SQLSTATE[HY000]: General error: 1364 Field 'description' doesn't have a default value: INSERT INTO {payment} (pmid) VALUES (:db_insert_placeholder_0); Array ( [:db_insert_placeholder_0] => 0 ) in drupal_write_record() (line 7136 of /srv/www/d7.illustrato.rs/public_html/includes/common.inc).

---

TYPE
php

LOCATION
http://d7.illustrato.rs/system/ajax

REFERRER
http://d7.illustrato.rs/shopping-cart/checkout

MESSAGE
Notice: Trying to get property of non-object in PaymentEntityController->save() (line 404 of /srv/www/d7.illustrato.rs/public_html/sites/all/modules/payment/payment/payment.classes.inc).

---

TYPE
php

LOCATION
http://d7.illustrato.rs/system/ajax

REFERRER
http://d7.illustrato.rs/shopping-cart/checkout

MESSAGE
Notice: Undefined index: payment in payment_ubercart_callback() (line 146 of /srv/www/d7.illustrato.rs/public_html/sites/all/modules/payment_ubercart/payment_ubercart.module).

Any idea what's going wrong?

Thanks!

🐛 Bug report
Status

Closed: cannot reproduce

Version

1.6

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024