Cannot get login user data

Hi, I am try to get login user data. But I got "Trying to get property of non-object" error.. This my controller p...
27

How to fix null given error in laravel-dump-server?

Hello, I added "beyondcode/laravel-dump-server": "^1.2" to my Laravel 5.7 application and sometimes I got error...
02

Chartjs onchang event using drop-down

So I have a ChartController that gets a parameter of month_no and throws json object of subjects, lates and present for a specific subjects by the...
01

Google maps api for satellite view

Is there any functionality in google maps api to show satellite view of an address e.g; address of a shop and then give area of roof? As this websi...
02

What is this technique called?

Hi; 1 - Is this the correct way of generating thread_id? 2 - Is this called closure? 3 - When using factories, is this gonna loop inside the...
02

Failed to parse time string (۱۳۹۷-00-00 0:0:0) at position 0 (�): Unexpected character

I upgrade my laravel from version 5.5 to 5.6 and inesperadamente all of my route give this error: "Da...
01

Trying to send email: Class setQueue does not exist

I'm trying to send email from my application and I'm given the following error......
04

do I still need mysqli_real_escape_string in eloquent?

I need to migrate my tables over from the old site to the new site weekly so I can work with up to date data. I just have a blade that shows the t...
07

Do I need to make slug as primary key in route model binding?

Hi; Do I need to make slug as primary key in route model binding?...
04

how to set mannual url (href) in pagination

i have a page which support both direct load and asyn ajax load when ever i load page directly its working fine with pagination...
03

How to increase UTF-8 emoji size without increasing text front size

i have a function is remove emoji from text now how i modify this function to increase emoji size function remove_emoji($text){...
05

Role question - Shall I set the access in router or controller or both?

Hello, In my router I setup the access this way: Route::group(['middleware' => ['role:admin,user,reader']], function () { //Route...
03

Display image from a local file

How can I display an image from the folder "D:\projects\forum\storage\app\images" Thanks, Kieran...
01

Count from two unrelated tables

I have two tables employee attendance and employee encounters. These two tables do not have a direct relations however they have the same fi...
04

Laravel Nova Redirect to a user-defined path after loggindg in

Is there a way to define a path to redirect a user to after logging in? Ideally, I want to redirect a user to /admin/dashboard/users...
00

Object of class Illuminate\Routing\Redirector could not be converted to string

this is working fine when i pass $total to $data['total']; $total = 0; foreach($data['items'] as $item) { $total...
15

Update vue variable with axios response

I have a vote button in my app which sends a request via ajax to my vote controller but now I wanna go away from ajax and do it with vue js becaus...
01

Looping through Array From Form Input

Hello LaraFam, I have a form repeater which asks user for input for code, product and quantity whereby a user can add the same form as many...
01

query function error

I'm getting this error Undefined property: Illuminate\Database\Eloquent\Relations\BelongsToMany::$tasktags for $posts...
01

What is the current Sublime these and color setting?

Hi; In Sublime 3 how can I see the currently active theme's (and color) name? Thanks...
01