Support the ongoing development of Laravel.io →

4,599 Threads

Laravel Relationships

I am trying to understand why something works. I have a user model and within it I state that a User...

0 Likes
3 Replies

ksort() expects parameter to be array, integer given

I am currently trying to insert the value of fields to a table. However, this error keeps coming up:...

0 Likes
3 Replies

env file vs config/database.php

New to Laravel. Not sure I understand the difference between these two configuration methods. I'm...

0 Likes
2 Replies

fetch values from a default values table if not found in local values table.

I have a case where I need to maintain some values of a user locally while there are default values...

0 Likes
3 Replies

move db row up/down in table

I have a table in my view with 2 options to move that row up or down the table. I have made a sort_i...

0 Likes
3 Replies

A "Fatal Error Exception" with my new model "Userconfirmation.php"

Written with StackEdit. I was happy with laravel 4.2 until i upgraded to 5.2, By the way i wanted...

0 Likes
1 Replies
Solved

SQLSTATE[42S22]: Column not found: 1054 Unknown column

I have 2 models class BrandModel extends Model { protected $table = 'brand'; public functi...

0 Likes
2 Replies
Solved

Creating a Master Admin account that is not part of the normal users' database.

Hi! I'm creating an app where I'm using a User model that represents Hotels. The columns for these h...

0 Likes
1 Replies

searching in child table.

Hi, I am using Zizaco/entrust for managing roles/permissions of users. I have users with admin,super...

0 Likes
2 Replies

Delete many posts with checkboxes

Hi, I'm using the Route::resource for my posts. How do I pass an array of values with checkboxes, fr...

0 Likes
1 Replies

Using string as type for id column

Hi, first of all please forgive me my bad english. I am pretty new to laravel so i can't figure this...

0 Likes
2 Replies
Solved

Limit on MySQL field size?

Hello everyone. I've got a problem with the size of a field selected from MySQL. It only gets 104857...

0 Likes
5 Replies

Convert an array to working eloquent model

How to convert an array (data already inside database) to working eloquent model without writing dat...

0 Likes
1 Replies

Dropzone.js Column 'album_id' cannot be null

Hi all, im trying to make my dropzone upload to work but i have a little error when i hit the submit...

0 Likes
0 Replies

View Search Results In View With ahref

I am trying to echo out data from the database with a foreach loop. In return it returns this error:...

0 Likes
0 Replies

Trouble setting and getting all info for pages.

Hello everyone, I am having trouble to get all the information that I need for my pages on my local...

0 Likes
0 Replies

whereDoesntHave in PIVOT table with 2 where clauses

Hi, I need to exclude records (hotel rooms) from Eloquent query that have booked any day between Ch...

0 Likes
0 Replies
posted 8 years ago

Error on adding a unique column to existing table

Hi, I'm having this wired issue when adding a unique column to an existing table. I have created use...

0 Likes
1 Replies
Solved
posted 8 years ago

İmportant ! [ReflectionException]Class UserTableSeeder does not exist Error

Hi guys, At the begining,before I decided to creat thread in here,I tried solutions so much but it d...

0 Likes
0 Replies
posted 8 years ago

Class <Seeder Name> Does Not Exist problem [solved]

Suppose i have a database seeder named as ItemTableSeeder. when you try to run the command php arti...

0 Likes
0 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.

© 2024 Laravel.io - All rights reserved.