Are you using which version of laravel?

|
datlechin 2021-01-23 18:39:41
why does it not have odp_code
Parsa212 2021-01-23 19:03:41
datlechin 2021-01-23 18:39:04

Check fillable in model

Mouli Vinoth 2021-01-23 19:18:21
Hi all, We migrated laravel 5.7 to laravel 6.0. str_limit is not supporting in laravel 6.0. What needs to use instead of str_limit in laravel 6.0?
PsYonI 2021-01-24 01:38:07
English: Good evening to all
I have a problem with heroku

I have deployed my laravel 7 + voyager app but I have problems with uploading images because of the GD library.

I added “ext-gd”: “* ” in composer.json but I still have the message that informs me that I have not installed the library

Could someone help me ?

Rajen Trivedi 2021-01-24 05:00:02
datlechin 2021-01-23 18:39:41
why does it not have odp_code

Double check your databse columns of users table, there must be a column named odp_code & it will be type of not nulled, either make it null or pass odp_code from controller.

Dnyanesh 2021-01-24 06:08:53
I have use dynamic dependent drop-down list with datepicker in my website in laravel and MySQL database. Now I want to make mobile application. Can any one please tell me how to reuse this code for mobile application.
Muk Bh 2021-01-24 06:50:47
Hey hi guys..
Trying to connect MYSQL to laravel..by using
php artisan migration but not working
hypernxf 2021-01-24 06:51:09
hi show your error msg
Muk Bh 2021-01-24 07:19:06
Sorry guys…fixed it.
Ajitcool008 2021-01-24 07:20:19
Any mean stack developer?
Gabby_Json 2021-01-24 07:21:09
Ajitcool008 2021-01-24 07:20:19
Any mean stack developer?

Yeah..

Ryan151995 2021-01-24 07:29:19
Muk Bh 2021-01-24 06:50:47
Hey hi guys..
Trying to connect MYSQL to laravel..by using
php artisan migration but not working

You can can’t connect mysql through laravel using php artisan make:migration this command help you to create migration file if you want to connect your application to mysql made database connection in .env file

Muk Bh 2021-01-24 07:32:49
Ryan151995 2021-01-24 07:29:19
You can can’t connect mysql through laravel using php artisan make:migration this command help you to create migration file if you want to connect your application to mysql made database connection in .env file

Yeah I got that ..thanks

Muk Bh 2021-01-24 07:33:20
Target class does not exist …user controller
Muk Bh 2021-01-24 07:33:33
How can I fix it
veddishant 2021-01-24 07:33:49
Check path of that! Check spelling with case
Muk Bh 2021-01-24 07:34:03
laravel_discuss-67520.jpg

Ryan151995 2021-01-24 07:34:25
Muk Bh 2021-01-24 07:33:20
Target class does not exist …user controller

Search on google you found alot of solution it means the class you are targeting is it not in controller

veddishant 2021-01-24 07:34:26
Muk Bh 2021-01-24 07:34:03

Have you import that?

Ryan151995 2021-01-24 07:35:25
Are you using which version of laravel ?
Muk Bh 2021-01-24 07:36:16
laravel_discuss-67525.jpg

Ryan151995 2021-01-24 07:36:37
If you using 8 so first import controller class in web.php App/http/controllers/usercontroller; like this
Muk Bh 2021-01-24 07:36:39
UserController present in controllers
veddishant 2021-01-24 07:37:00
Muk Bh 2021-01-24 07:36:16

Yeah buddy just import it

veddishant 2021-01-24 07:37:29
Or give path of it where you using
AMIT 2021-01-24 07:47:58
https://laravel-news.com/understanding-the-sole-query-builder-method

Understanding the sole() Query Builder MethodLaravel News
Laravel 8.23.0 introduces a sole() method to the query builder, which retrieves a single record but also has additional assertions.
Muk Bh 2021-01-24 08:00:39
veddishant 2021-01-24 07:37:00
Yeah buddy just import it

Can you tell me how ..?
Beginner here

Muk Bh 2021-01-24 08:01:44
How to import controller class to web.pho
Muk Bh 2021-01-24 08:03:52
laravel_discuss-67535.jpg

Muk Bh 2021-01-24 08:04:12
laravel_discuss-67536.jpg

Muk Bh 2021-01-24 08:04:31
laravel_discuss-67537.jpg

immeasurableamit 2021-01-24 09:25:59
Muk Bh 2021-01-24 08:01:44
How to import controller class to web.pho

don’t forget to import (use) your controller in the routes(web.php) file at the top. Like:

use AppHttpControllersUserController;

irhamir 2021-01-24 13:59:15
immeasurableamit 2021-01-24 09:25:59
don’t forget to import (use) your controller in the routes(web.php) file at the top. Like:

use AppHttpControllersUserController;

Sorry I want to ask, Is there any way other than entering the use AppHttpControllersblablabla; on the web.php?

immeasurableamit 2021-01-24 14:44:13
irhamir 2021-01-24 13:59:15
Sorry I want to ask, Is there any way other than entering the use AppHttpControllersblablabla; on the web.php?

simply change your “app/Providers/RouteServiceProvider.php” file and add this line protected $namespace = ‘AppHttpControllers’;

haider12312 2021-01-24 14:48:25
Raw have SQL injection in Laravel
|