Support the ongoing development of Laravel.io →

4,311 Threads

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

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

Run a query every 24 hours?

I have a site with a large number of downloads available and I've implemented a bandwidth cap for ea...

0 Likes
1 Replies

Best practice defining multiple many-to-many relationships in one table?

Hi, I am building a products table and I have five columns that will contain data that will be share...

0 Likes
4 Replies

5.1 Factory & seeding.

I was using TestDummies in 5.0 but changed to built in Factory functionality in 5.1. but when i ran...

0 Likes
0 Replies

Union in loop select - Query

Hi i need to create a union of select queries in a for loop. following is my code. $union = DB::tabl...

0 Likes
1 Replies

CRUD operations

Hello, Can someone help me with my problem or show example. I am a new user of laravel community. I...

0 Likes
1 Replies

Laravel 4.2 - Eloquent Model does not throw Undefined Property

I have this Eloquent model. $order = Order::find(1); When I echo $order->Status; this should thro...

0 Likes
1 Replies

Events not firing on inherited model. How can I fix this?

I have a model, Order, that has an updated event. use Illuminate\Database\Eloquent\Model; class Ord...

0 Likes
3 Replies
Solved
posted 9 years ago

Laravel 4 relations -> get company with machines and sales by date

Hey Guys, I have a issue with relations. I have a table with: companies, machines and sales. A compa...

0 Likes
0 Replies

Problem with eloquent after composer update

Hi everyone, since a couple of day I have some trouble with the composer update command in that when...

0 Likes
1 Replies
Solved
posted 9 years ago

Laravel 5.0.33 Illuminate\Database\Eloquent\Model not found in line 5

Here is my file Email.php in app, it is very simple but it doesn't work: <?php namespace App;...

0 Likes
0 Replies

On Busy Server Received SQL Error!

Hello, I have a big problem and if it's true laravel will going to critical and unreliable situation...

0 Likes
0 Replies

Laravel 5, Postgres and JSON fields

Hello, trying to understand that status of development for this use: I want to store JSON data in Po...

0 Likes
1 Replies

Laravel4 many-to-one relation with a pivot table

I have 3 tables in my database. A link table, a question table and an answer table. In link I store...

0 Likes
0 Replies

Column not found: 1054 Unknown column '_token' in 'field list' (SQL: update `tutorials` set `_token` =

If i update my Form Model Binding i am getting the above error: **Column not found: 1054 Unknown col...

0 Likes
4 Replies
Solved

nested and/or within a dynamic function

I'm trying to get nested results but can't seem to get it working for my situation. I want to use th...

0 Likes
1 Replies
posted 9 years ago

Eloquent save() not working after switching from MyISAM to InnoDB

I'm using Laravel 4.2. I have just converted all tables of MySQL database from MyISAM to InnoDB by i...

0 Likes
2 Replies

insert multiple rows / new to laravel

I'm very new to laravel. Just getting around the MVC idea. How would I go about writing in laravel s...

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.

© 2024 Laravel.io - All rights reserved.