Support the ongoing development of Laravel.io →

1,390 Threads

Select unique option from same table

Hello, i have two select boxes in the same form. Both are beeing populated through JSON which works...

0 Likes
0 Replies

TokenMismatchException - session in database timeout or killed

Hello How can we trap if the _token has a session ref which is no more in the session database ? Hav...

0 Likes
1 Replies

How to have a cancel button on edit page that works after validation errors

This works if there has been no attempt to update the record and the user just clicks cancel. {{For...

0 Likes
2 Replies

NotFoundHttpException on route

Hi. I create my routes like so Route::model('projects', 'Project'); Route::bind('projects', functio...

0 Likes
2 Replies
Solved

Facades - Am I Using Them Correctly?

So I wanted to create a form function set for my blades to automatically recover values after a fail...

0 Likes
1 Replies

Newbie Issue: Form works fine as it's own view but when used in another it doesn't process

I'm sure the solution to this is stupid simple, and (maybe) has to do with routes, but I'm stumped r...

0 Likes
5 Replies

laravel post request validation don't show ther errors ( validation Fail)

i try to set rule to validate post request for laravel form to store data but if i set any validatio...

0 Likes
2 Replies

submit without refreshing

How can I submit without refreshing the page? here is my code Route::get ('building/{id}/editsystem/...

0 Likes
1 Replies
posted 11 years ago

htmlentities() expects parameter 1 to be string, array given error exception

Hi I have htmlentities() expects parameter 1 to be string, array given error exception in my view, b...

0 Likes
4 Replies
Solved
posted 10 years ago

How to create a location field in a form

How to create a "Location" field similar to https://letsventure.com/join/angel_investor Th...

0 Likes
4 Replies

Laravel authorization function

Hi, everyone. I am a beginner of Laravel and PHP and developing a simple Laravel website with user r...

0 Likes
2 Replies

RANDOM WITH WHERE !

I need to get data from 30 random questions with a theme set by User something like: $test = Questio...

0 Likes
1 Replies
posted 10 years ago

Laravel 5 pagination

The below code works great in Laravel 4.2: //other code up here $data['owners'] = \Illuminate\Suppor...

0 Likes
15 Replies
Solved

ErrorException throwing when accessing a value in array that does not exists

ErrorException in Usermodel.php line 21: Undefined offset: 1 http://laravel.io/bin/aNw7q#21

0 Likes
0 Replies

Deep saving Models

I come from a CakePHP background which has the idea of deep saving models. For example, a Person can...

0 Likes
1 Replies

Creating dropdown with optgroup from Laravel class

So this is what I've got so far. But as you'd expect, it's only filling the array with the first sub...

0 Likes
1 Replies
Solved

Saving form data to session on form submission

I'm trying to solve a problem with passing form data past login screen. I have a form that submits d...

0 Likes
1 Replies

TokenMismatchException only on some mobile devices

I have a very simple subscriptionform (email + button) that works perfectly except on my iPhone 5c....

0 Likes
3 Replies
Solved

Search Relationship -> Search returns too many results

Hello all, I have two models which are related. I am trying to do a search in Products and only disp...

0 Likes
1 Replies

Populating Database - one to many relationship

I have a one-to-many relationship that is not working. A 'Client' has many 'Athletes'. I have alread...

0 Likes
3 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.