Support the ongoing development of Laravel.io →

topshark

Joined 27 Jul 2015

Statistics

Threads 2
Replies 10
Solutions 0
Articles 0
posted 9 years ago

what's wrong , its my mistake about use Transaction?

\DB::beginTransaction(); try { //...logic.... } catch (\Exception $e)...

0 Likes
1 Replies

so strange to me . what happened?

[2015-07-27 18:29:50] product.ERROR: exception 'RuntimeException' with message 'Can't swap PDO insta...

0 Likes
11 Replies
replied 9 years ago

what's wrong , its my mistake about use Transaction?

or like this? i think is same. \DB::beginTransaction(); try { //...logic.... \DB::commit(); } cat...

0 Likes
replied 9 years ago

so strange to me . what happened?

my english no good. someone help?

0 Likes
replied 9 years ago

so strange to me . what happened?

php /data/lightning5/app/../artisan queue:work --daemon --sleep=1 --tries=5 --queue=task

0 Likes
replied 9 years ago

so strange to me . what happened?

ok.. its happened again.

0 Likes
replied 9 years ago

so strange to me . what happened?

exception 'RuntimeException' with message 'Can't swap PDO instance while within transaction.' in /da...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.