Support the ongoing development of Laravel.io →

4,606 Threads

Can't create database scheme

Hi, I am actually working on laravel 4.2 project that i have retrieved. I am trying to make it work...

0 Likes
3 Replies
Solved

change return of paginate()

hello to every one, at first sorry for my bad english. hi to everyone, I have a issues with a route...

0 Likes
1 Replies

Postgres 9.4 new question mark operator can't be used in eloquent raw queries

The question mark allows to search values in JSONB array: SELECT * FROM tracks WHERE artistnames ? '...

0 Likes
2 Replies
Solved

Get avg in single query

Can any one please help me how to get all column and avg of a column in a single query without using...

0 Likes
2 Replies
posted 10 years ago

DB::getQueryLog() returning empty array even after enabling DB::enableQueryLog()

DB::getQueryLog() is returning an empty array, even after enabling the query log with DB::enableQuer...

0 Likes
1 Replies

Associating view to user record

So I have a view where I loop through then display a company's employees into a table. We are implem...

0 Likes
2 Replies
posted 10 years ago

Pivot table seeding problem

Hi, I have a problem about seeding the pivot table. Hope anyone could help me to solve it, thanks. E...

0 Likes
1 Replies
posted 10 years ago

Class BaseController not found

I tried to create HomeController.php file and when I run the program on localhost received that erro...

0 Likes
2 Replies

Equivalent to * in eloquent

Hello Im trying to find the equivalent of '*' to select everything in a join operation. Attempt 1: i...

0 Likes
1 Replies
posted 10 years ago

Understanding database workflow with Homestead

Hello, I understand how to set up and connect to the Homestead database, but I'm a bit confused abou...

0 Likes
0 Replies
posted 10 years ago

Laravel - Eager Loading with wherehas constraints

Hi, I am trying to filter my query result by term and year. However, the query seems not filtering....

0 Likes
0 Replies

How to manage Migrations and Git

Hi, When working with git, we always use branches. In some branches, we need to change database tabl...

0 Likes
3 Replies

I keep getting Whoops! There were some problems with your input. The pathway field is required.

I keep getting a Whoops! There were some problems with your input. The pathway field is required. an...

0 Likes
1 Replies

Issue with Accessing After Soft Delete

Background: I have members, events, and event_participants tables. The event_participants table has...

0 Likes
2 Replies
Solved

How to get latest n number of related model records in laravel

I have two tables - Categories and Posts. The relationship between them is one-to-many. i.e - A cate...

0 Likes
2 Replies

Lumen + sqlite Migration Syntax Error

While trying to setup Lumen using a sqlite database (specifically for testing), I noticed a syntax e...

0 Likes
0 Replies

What is the proper way to implement this fix?

I ran into a bug in Illuminate\Database\Query\Builder when doing more than one union. This is what t...

0 Likes
1 Replies

Trying to get property of non-object (Ask)

Hi, i'm a new comer in Laravel. I got this problem "Trying to get property of non-object (View:...

0 Likes
2 Replies
Solved

lumen - Fatal error: Class 'Memcached'

In a Lumen application, I need to work with more databases. So, according to documentation, I have c...

saif liked this thread

1 Likes
0 Replies

'artisan migrate' causes PDOEXCEPTION: No such file or directory

I'm connected to my remote server hosted by DreamHost.com. It's running Linux. After having created...

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