Is there any way with a middleware or something to parse null values from URL everytime from string to null before they even come into the request for validation?

|
Billa_Bongg 2020-09-21 13:47:05
Hi,I am getting the above error yet the permissions seeder does exist.
I have also done compose dump auto-load but the error is still there:
This is laravel v8
pardeep9218 2020-09-21 13:49:12
Check seeder exists at the path
aleemont 2020-09-21 13:53:18
Understand
Billa_Bongg 2020-09-21 13:54:29
The seeder exists
Billa_Bongg 2020-09-21 13:54:40
laravel_discuss-51819.jpg

fadhiilrachman 2020-09-21 13:54:50
laravel_discuss-51820.jpg

Billa_Bongg 2020-09-21 13:54:54
Or which other path should I be looking at
fadhiilrachman 2020-09-21 13:55:00
Hi guys, anyone uses laravel queue for video processing? I want to ask why from the exception of every corrupt video processing, some have escaped and some don’t. I use ffmpeg library
inlogicstudio 2020-09-21 15:14:49
Hi devs custom redirect after login is not working in laravel 8
Abd_Alrahman_Shammout 2020-09-21 15:14:49
Hello guys how to fix cors error
In laravel with nuxt.js
And thanks
inlogicstudio 2020-09-21 15:16:27
inlogicstudio 2020-09-21 15:14:49
Hi devs custom redirect after login is not working in laravel 8

The path in config/fortify always override the function provided in routeserviceprovider to iterate over the user types

inlogicstudio 2020-09-21 15:17:58
laravel_discuss-51832.jpg
This is how am trying to redirect in laravel 8 after login and its not working this is the routeserviceprovider file
Siberfx 2020-09-21 15:24:34
2020-09-21 13:41:22
hi every one. i want to store some photos for a product. i should use polymorphic and relationships in Laravel. did it but i do not know how should store photos name in images table. this table has this schema :
Schema::create(‘images’, function (Blueprint $table) {
$table->id(‘id’);
$table->text(‘file’);
$table->unsignedInteger(‘imageable_id’);
$table->string(‘imageable_type’);
$table->timestamps();
});

if you are going to store the images for only 1n1 relation dont use polymorphic. Use usual table.

abdu_curry 2020-09-21 15:29:17
inlogicstudio 2020-09-21 15:17:58
This is how am trying to redirect in laravel 8 after login and its not working this is the routeserviceprovider file

declare a redirectTo function on your login controller and remove redirectTo variable

hamidshariati_ir 2020-09-21 16:25:01
anyone can deploy laravel with docker-compose in production?
inlogicstudio 2020-09-21 16:32:15
inlogicstudio 2020-09-21 15:17:58
This is how am trying to redirect in laravel 8 after login and its not working this is the routeserviceprovider file

Why is it that people ignore request for help in this group

natghi2010 2020-09-21 17:15:01
inlogicstudio 2020-09-21 16:32:15
Why is it that people ignore request for help in this group

Because you take pictures of your screen

2020-09-21 17:20:48
I’m looking for information about using laravel to creae an API rest
shaildark 2020-09-21 17:42:23
Anyone used yajrabox?
Any other package for datatable in laravel
rajesh_kc6 2020-09-21 18:01:32
shaildark 2020-09-21 17:42:23
Anyone used yajrabox?
Any other package for datatable in laravel

Yes, yajrabox is good alternate to use for datatables. It took me sometime to configure

2020-09-21 18:08:14
2020-09-21 13:41:22
hi every one. i want to store some photos for a product. i should use polymorphic and relationships in Laravel. did it but i do not know how should store photos name in images table. this table has this schema :
Schema::create(‘images’, function (Blueprint $table) {
$table->id(‘id’);
$table->text(‘file’);
$table->unsignedInteger(‘imageable_id’);
$table->string(‘imageable_type’);
$table->timestamps();
});

Use grtclientoriginalname

2020-09-21 18:08:28
getClientOriginalName
2020-09-21 18:08:58
When u r saving image to dB.
2020-09-21 18:10:57
shaildark 2020-09-21 17:42:23
Anyone used yajrabox?
Any other package for datatable in laravel

If your project is small and has limited data, use direct cdn (client side method), else use server side using package yajra.

2020-09-21 18:14:41
guys need a help to decode php code
2020-09-21 18:14:53
https://pastebin.com/SYTntDdG here is the code

uluwa – Pastebin.comPastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
shaildark 2020-09-21 18:19:44
2020-09-21 18:10:57
If your project is small and has limited data, use direct cdn (client side method), else use server side using package yajra.

Like datatable method using jQuery

2020-09-21 18:29:22
2020-09-21 17:20:48
I’m looking for information about using laravel to creae an API rest

Laravel Tutorial – Building API, Testing it using Postman & AjaxYouTube
We will build API using Laravel from the beginning until the end with a brief of explanation on a whiteboard. and also we will test it using postman and Ajax.

Laravel course on my channel:

Documentation:
https://laravel.com/docs/7.x/eloquent-relationships

####################
CHAPTERS IN THIS VIDEO!
####################

0:00 – Intro
01:14 – Explanation
06:15 – Building API using Laravel
13:15 – Postman testing
23:57 – Ajax testing

—– Social —–
Instagram : codebrain99 | https://www.instagram.com/codebrain99/
Twitter : codebrain99 | https://twitter.com/CodeBrain99

#laravel #php #framework #web

2020-09-21 18:37:20
laravel_discuss-51856.jpg
hello guys
please someone knows how to solve erorr this
thanks
fusuf 2020-09-21 18:39:36
2020-09-21 18:37:20
hello guys
please someone knows how to solve erorr this
thanks

its saying solution

2020-09-21 18:41:50
i register to form laravel
no recorded in database
Anu 2020-09-21 18:57:41
check db connection in .env file
mynameisbrad 2020-09-21 19:16:52
I’m making an API with laravel. Basically I’m having trouble with receiving an actual null when recieving data from the URL. Null comes as STRING. Is there any way with a middleware or something to parse null values from URL everytime from string to null before they even come into the request for validation?
stanmtete 2020-09-21 19:30:48
Laravel come up with default database configuration registered in the env file called » “laravel” so if you need to create you’re on database then go to the phpMyAdmin if you’re using MYSQL then create database and register the name of you database in the env file eg. DB_DATABASE=museum
2020-09-21 19:35:27
stanmtete 2020-09-21 19:30:48
Laravel come up with default database configuration registered in the env file called » “laravel” so if you need to create you’re on database then go to the phpMyAdmin if you’re using MYSQL then create database and register the name of you database in the env file eg. DB_DATABASE=museum

not should db name musem
any names in db name

stanmtete 2020-09-21 19:37:40
2020-09-21 19:35:27
not should db name musem
any names in db name

of-course any name just museum was an example

2020-09-21 19:38:05
ya oki thanks
2020-09-21 19:38:35
but i cheeked to env file and try it
2020-09-21 19:38:52
no solved problem
stanmtete 2020-09-21 19:41:34
have you tried to run » php artisan cache:clear
Anu 2020-09-21 19:42:08
clear cache
iamnomana 2020-09-21 19:42:37
Did you reran the project after editing the env file?
stanmtete 2020-09-21 19:43:01
Anu 2020-09-21 19:42:08
clear cache

in laravel 7 should be cache:clear

Pro 2020-09-21 19:43:30
mynameisbrad 2020-09-21 19:16:52
I’m making an API with laravel. Basically I’m having trouble with receiving an actual null when recieving data from the URL. Null comes as STRING. Is there any way with a middleware or something to parse null values from URL everytime from string to null before they even come into the request for validation?

i think with a middleware loop through the request data and when u find “null” set it to null 🤷🏿‍♂️🤷🏿‍♂️🤷🏿‍♂️

Anu 2020-09-21 19:45:31
stanmtete 2020-09-21 19:43:01
in laravel 7 should be cache:clear

ohh.. i meant to clear the cache

stanmtete 2020-09-21 19:50:03
Anu 2020-09-21 19:45:31
ohh.. i meant to clear the cache

ok fine

2020-09-21 19:51:01
php artisan cache:clear not solved problem
stanmtete 2020-09-21 19:52:01
2020-09-21 19:51:01
php artisan cache:clear not solved problem

try » php artisan config:cache

2020-09-21 19:53:33
stanmtete 2020-09-21 19:52:01
try » php artisan config:cache

thanks so done man solved

mynameisbrad 2020-09-21 19:53:59
Pro 2020-09-21 19:43:30
i think with a middleware loop through the request data and when u find “null” set it to null 🤷🏿‍♂️🤷🏿‍♂️🤷🏿‍♂️

Thanks man, thats what I thought as well. In my opinion there is no other better solution

|