Event is correct, but listeners recived User=null

Hi, i have create a event and listerner and i want pass App\User to handle. In my debug all is not ok my EventServiceProvider class EventServiceProvid...

htmlspecialchars() expects parameter 1 to be string, array given

pages controller <?php namespace App\Http\Controllers; use Illuminate\Http\Request; class PagesController extends Controller { public function inde...

ReflectionException (-1) Class Main does not exist

<?php /* |-------------------------------------------------------------------------- | Web Routes |--------------------------------------------------------------...

Inserting Line breaks into Mysql txt

Hi I have a form with a text area. When a user adds notes they can add new lines as expected whilst they edit. I want to be able to add new lines to this text...

DELETE to /oauth/personal-access-tokens/token not supported.

I am having some weird problem with laravel passport that doesnt happen on localhost but it does online on webhosting when I want to revoke token. DELETE to...

From where has my failed job been dispatched

One of my jobs crashed with an exception today. Data which was saved before dispatching the job was not yet synced to the slave database. It was hard for me to find where t...

How to redirect the user back to the view with error when the controller return exception?

In some unexpected cases my controller would return exception. Instead of showing the user error trace, I want to show them a user friendly error instead. (query timeout, d...
Laravel
10
385

Will Laravel Upgrate to 5.7 affect my register controller

Hii Im currently using laravel 5.6 , was going to upgrate to 5.7 , Actually im already registering users in 5.6 by default auth register , will update affect my user and ad...

Specified key was too long fix doesn't work for me

I've been tearing my hair out trying to fix this. I've read the fix post (...

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... Full stack trace...
Laravel
7
238

syntax error, unexpected 'class' (T_CLASS) in Laravel Cart

I am trying to install a this shopping cart using Laravel but I am getting an error and I cannot figure it out...

Site and tinker not accessing correct mysql database tables after running phpunit tests

I've been learning to write tests on a site built in laravel. I had created a test before which just checked the return of a function, but when I started to create another...

Too few arguments to function EncryptCookies::decryptCookie()

Middleware bug starting occurring after recent pull. Reverting the changes still leaves us with this error. Various attempts to reset/flush have not worked. The upda...

Laravel 5.4 Add another field to auth (register page)

How can add two check boxes to the register page, created automatically with laravel 5.4, and pass their value to the database? I do the following steps and doesn't...
Laravel
7
1091

403 Forbidden on laravel Homestead

hi . i use laravel Homestead .. Everything was fine yesterday, but today I have a 403 Forbidden nginx error. It only has a problem with one address. If I use the domain.c...

Boolean is empty after passing from API

I use Axios to pass the parameter of flag, id, and url to the server-side. I double check and there are values inside th...

Search query issue

Hi. I'm trying to search users using scopes but when trying to search for all, it only returns the wrong data. I.e I have in the searches form a checkbox with "All&quo...

Laravel Api base project

Hi guys, I want to write a web-based project. Is there any problem with using a separate project created by the vue cli, or is it better to use the vue inside the project?...

What are the best steps to learn laravel components

I want to learn laravel to be expert with it, so please can you guid me how to walk through it to learn its components one by one. I am a web develop currently working on Y...
Create a New Discussion Button
Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels