Support the ongoing development of Laravel.io →

4,606 Threads

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

Issue with adding soft deletes in a later migration

Hello, the issue I'm having is that I created a user table as my first migration, then added a migra...

0 Likes
1 Replies
Solved

Insert or update refactoring

I have a long list of fields to insert. Then I have that same list again under the update section Th...

0 Likes
0 Replies

can't view PDF file from the computer.

How can i view the data here please help thanks. public function showpdf($fsr_num)...

0 Likes
0 Replies

Using DB outside Laravel

I was using Eloquent outside laravel without any problem, until I came to a point that I wanted to d...

0 Likes
2 Replies
Solved

Response Format

Can someone give me a good json response structure for APIs? E.g { "http_code": 200, "...

0 Likes
0 Replies

Problem with php7 and PDO pluging

Already i installed php7 and all the plugings for installer laravel from php but when go to a new pr...

0 Likes
0 Replies
posted 8 years ago

How to write Laravel Query Builder from Mysql subquery Union?

I have a mysql query, that I need to make it work in a Laravel Query Builder. The problem I have is...

0 Likes
0 Replies

Model validation using related models

Consider the following models. class Camp extends Model { protected $fillable = ['name', 'descri...

0 Likes
1 Replies

Laravel Database Testing PHPUnit

Hey everyone. Is there a way to "seed" a test database using some obscure function in Lar...

0 Likes
0 Replies

Eloquent ignores a from field when building quiery

Hi, I have a problem with Eloquent ignoring a form field - not adding the selected value to the data...

0 Likes
0 Replies
posted 8 years ago

Passing parameters through routing wildcards fails to get an instance of the object

Hello, I am having some trouble getting the wildcard in my routes to work properly. What I am trying...

0 Likes
0 Replies

Laravel Cashier (5.1) & Stripe - Correct thought on 1:Many Subscriptions?

Hi, Building a system which a user can have many adverts running (somewhat similar to eBay I guess)...

0 Likes
0 Replies

Company has many Company Addresses

I have 3 tables: companies => id, name cities => id, name company_addresses => id, company_...

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.

© 2025 Laravel.io - All rights reserved.