Maybe i send as a file?

|
faissaloux 2022-08-28 16:40:12
Denno_IT 2022-08-28 16:39:12

show us what’s below this

Denno_IT 2022-08-28 16:41:46
this one
Denno_IT 2022-08-28 16:41:58
laravel_discuss-135850.jpg

Denno_IT 2022-08-28 16:42:55
so my controller does not have issues??
Denno_IT 2022-08-28 16:43:14
like the DB::transaction() is fine?
faissaloux 2022-08-28 16:43:15
Denno_IT 2022-08-28 16:41:58

Do you have other show function on same controller!!

Denno_IT 2022-08-28 16:43:43
i was doubting since am passing the data into three different tables but from the same view
Denno_IT 2022-08-28 16:44:01
faissaloux 2022-08-28 16:43:15
Do you have other show function on same controller!!

only the index and the store function

faissaloux 2022-08-28 16:44:07
Did you close the DB::transaction function!!!!
Denno_IT 2022-08-28 16:44:20
it was working actually but all over sudden an error came in and i dont see any error
Denno_IT 2022-08-28 16:44:37
Denno_IT 2022-08-28 16:39:12

here

faissaloux 2022-08-28 16:44:55
I can’t know
faissaloux 2022-08-28 16:45:05
Take a screenshot of the whole function please
faissaloux 2022-08-28 16:45:22
In one picture
Denno_IT 2022-08-28 16:45:32
faissaloux 2022-08-28 16:45:05
Take a screenshot of the whole function please

my vs code can only get the way i sent.. maybe i send as a file??

Jonathan Antunes 2022-08-28 16:45:42
The problem is the DB transaction
faissaloux 2022-08-28 16:45:49
Zoom out then take screenshot
Jonathan Antunes 2022-08-28 16:45:54
You have to close the function
faissaloux 2022-08-28 16:45:59
Zoom out using Ctrl + –
faissaloux 2022-08-28 16:46:17
Jonathan Antunes 2022-08-28 16:45:54
You have to close the function

Yeah exactly

Denno_IT 2022-08-28 16:46:50
faissaloux 2022-08-28 16:45:59
Zoom out using Ctrl + –

laravel_discuss-135869.jpg

Denno_IT 2022-08-28 16:46:59
Jonathan Antunes 2022-08-28 16:45:54
You have to close the function

i think i have closed it?

faissaloux 2022-08-28 16:47:11
Can you send it as a file please
Denno_IT 2022-08-28 16:47:11
which one please??
faissaloux 2022-08-28 16:47:50
Exactly
Denno_IT 2022-08-28 16:48:56
laravel_discuss-135878.jpg

Denno_IT 2022-08-28 16:49:25
i tried to check even clearing the cache but seems not to work
faissaloux 2022-08-28 16:49:28
You need to close the for loop and the transaction function
Denno_IT 2022-08-28 16:50:28
faissaloux 2022-08-28 16:49:28
You need to close the for loop and the transaction function

but i was told this for loop is wrongly implemented?

Denno_IT 2022-08-28 16:50:50
i think the other day that is what guyz said here
Denno_IT 2022-08-28 16:51:01
in laravel?
faissaloux 2022-08-28 16:51:19
For this error you just need to close it first
Jonathan Antunes 2022-08-28 16:51:34
faissaloux 2022-08-28 16:47:50
Exactly

@Denno_IT check his answer

faissaloux 2022-08-28 16:51:37
and the transaction function too
faissaloux 2022-08-28 16:52:41
I don’t know what’s th point from that loop
|