Hi,

I am encountering a weird behaviour of my site.
Recently, I had to update payment status to failure. It produced an irrecoverable error.
Tried to reproduced with dev code:

$transaction = commerce_payment_transaction_load( 784 );
$transaction->status = COMMERCE_PAYMENT_STATUS_FAILURE;
commerce_payment_transaction_save( $transaction );

Executing this code leads to following syslog:

Dec 2 12:04:58 dev EQUICOM: https://dev|1480676698|php|192.168.0.11|https://dev/?q=devel/php|https://dev/?q=devel/php|1||DatabaseTransactionOutOfOrderException: in DatabaseConnection->rollback() (line 1094 of /home/oturpin/equicom/includes/database/database.inc).

Don't really know what to do with that error ?

I am using postgresql 9.3.

Thx for feedback !

Comments

oturpin created an issue. See original summary.

oturpin’s picture

Hi All,

After searching for a long time... it appears that Rules cache had to be cleared and rebuild...
With this done, no more error...

Good to remember that !

Thx

rszrama’s picture

Category: Bug report » Support request
Status: Active » Closed (cannot reproduce)

Glad you discovered your issue. : )