Can anyone tell me how to solve this error in laravel 9?

|
Neophyte_01 2022-08-23 12:05:12
laravel_discuss-134733.jpg
Can anyone tell me how to solve this error in laravel 9?
Boudouft_Kaoutar 2022-08-23 12:07:43
they suggested some solutions: composer require news/captcha:* or composer require news/captcha:^2.1
Neophyte_01 2022-08-23 12:21:17
Boudouft_Kaoutar 2022-08-23 12:07:43
they suggested some solutions: composer require news/captcha:* or composer require news/captcha:^2.1

No it’s not working

Neophyte_01 2022-08-23 12:24:12
laravel_discuss-134736.jpg
I got this error
Neophyte_01 2022-08-23 12:30:22
I solved it in php.ini i uncommented extension=gd …it’s working now
Boudouft_Kaoutar 2022-08-23 12:33:19
Neophyte_01 2022-08-23 12:30:22
I solved it in php.ini i uncommented extension=gd …it’s working now

yes congrats , the most of times the terminal gives u the solutions to solve your problemes

Ajmal243 2022-08-23 12:33:59
laravel_discuss-134740.jpg
mysql error log shows like this
Neophyte_01 2022-08-23 12:34:08
Boudouft_Kaoutar 2022-08-23 12:33:19
yes congrats , the most of times the terminal gives u the solutions to solve your problemes

Yes. Thank you

Ajmal243 2022-08-23 12:34:09
it is stopping
Ajmal243 2022-08-23 12:57:48
Ajmal243 2022-08-23 12:33:59
mysql error log shows like this

Anyone know how to solve this?

Ajmal243 2022-08-23 12:58:33
laravel_discuss-134745.jpg

ilya_fedorov9 2022-08-23 13:13:35
laravel_discuss-134747.jpg
Hi guys!
How do I make the progress of background tasks right?

for example:
1) converting video to another format
2) compressing a large image
3) import products into the database from an external api
4) Export of products from the database to an excel file

I think the algorithm depends on the type of task…

case 3: if it is an import … then you need to calculate the number of rows / rows in the file, for example there are about 300 lines,
we add 100 rows to the database
number of iterations = 300/100 = 3
a total of 3 iterations: 1-33%, 2-66%, 3-100%

case 2 “large image compression”…
how to know the number of iterations here?
or the moment the vorker starts, increment the progress counter every second and
write/update to the database by id_task the value in the “progress” field and update the value to 100% when it finishes working

The general algorithm should probably be similar to this (as in the screenshot):

didaputraad 2022-08-23 13:29:19
Show u errors
Web Developer 2022-08-23 14:01:50
Ajmal243 2022-08-23 12:58:33

only one thing you can do

Dhruv Trivedi 2022-08-23 14:07:42
laravel_discuss-134751.jpg

Web Developer 2022-08-23 14:08:18
you have to pass array variable in count
Dhruv Trivedi 2022-08-23 14:08:45
mean
Web Developer 2022-08-23 14:09:10
where is your count function??
Web Developer 2022-08-23 14:09:23
in controller show me
Dhruv Trivedi 2022-08-23 14:09:38
laravel_discuss-134756.jpg

Web Developer 2022-08-23 14:09:55
see
Web Developer 2022-08-23 14:10:06
here $record[‘products’] is not array
Web Developer 2022-08-23 14:10:18
first check type of variable
Dhruv Trivedi 2022-08-23 14:10:52
ok
Ajmal243 2022-08-23 14:38:55
laravel_discuss-134761.jpg

Ajmal243 2022-08-23 14:38:56
laravel_discuss-134762.jpg

Ajmal243 2022-08-23 14:39:05
When I send firebase notification I get success message in dd.But it shows internal server error in console.When I click that link in console I get web notification.what is the solution.Anybody help me.
Madhesh 2022-08-23 14:57:00
Ajmal243 2022-08-23 14:38:56

you are capturing a value in-between so the error message is occurring

valieva8905 2022-08-23 15:11:26
Привет! Тут можно предлагать проекты?
RC 2022-08-23 15:16:00
laravel_discuss-134769.jpg
i am creating a controller but it does not work , anyone knows the reason? is it about the path of it?
cash karo 2022-08-23 15:16:49
Remove the Universitycontroller
cash karo 2022-08-23 15:17:02
University
cash karo 2022-08-23 15:17:12
Is okay
cash karo 2022-08-23 15:17:34
Controller and extends controller
cash karo 2022-08-23 15:17:44
That’s wrong
|