Support the ongoing development of Laravel.io →
Jafo232

Jafo232

Joined 6 Aug 2014

Statistics

Threads 5
Replies 12
Solutions 2
Articles 0

Eloquent Delete Where

Is there any way to say: Model::delete()->where('whatever', '=', 'whatever'):

0 Likes
1 Replies
Solved

Apply Non Fillable Fields Mass Assignment

When I create an item: Model::create('field' => 'attribute', 'field2' => 'attribute2'); This w...

0 Likes
4 Replies
posted 11 years ago

Dymanic Route

Having a hard time figuring out why this will not work.. In routes.php: if ($apps = Apps::all()) {...

0 Likes
4 Replies
posted 11 years ago

Illegal string offset 'name' when validating against unique

$rules = array( 'first_name' => array('required'), 'last_name' => array('required'), '...

0 Likes
10 Replies
Solved
posted 11 years ago

Reprocess Inputs

Is there a way to modify $_POST and $_GET and then have them available to the Input class? Example:...

0 Likes
2 Replies
replied 11 years ago

Illegal string offset 'name' when validating against unique

Found it. The issue was this: {{ Form::password('password', Input::old('password'), ['class' =>...

0 Likes
Solved
replied 11 years ago

Illegal string offset 'name' when validating against unique

nadimtuhin said: try this ...'email' => 'required|email|unique:users,email' I did try that alre...

0 Likes
replied 11 years ago

Illegal string offset 'name' when validating against unique

If I modify the input function in FormBuilder.php by adding this line, it fixes it: if (!is_array($o...

0 Likes
replied 11 years ago

Illegal string offset 'name' when validating against unique

I have not changed the table or column names. The error does not happen until I include the unique...

0 Likes
replied 11 years ago

Illegal string offset 'name' when validating against unique

The controller type is valid. I have tried making the validation rules as you described, no success...

0 Likes

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.

© 2026 Laravel.io - All rights reserved.