Support the ongoing development of Laravel.io →

4,603 Threads

Exception: Object of class DateTime could not be converted to string

Hi! For a while now (I think probably since the update to Laravel 4.1) I sometimes get the Error Exc...

0 Likes
2 Replies

check if value exists in array

I have 2 queries and I want to check if values of one queries exists in array of other query. I have...

0 Likes
3 Replies

insert data from form to table but the data inserted row empty

insert data from form to table but the data inserted row empty what the problem?

0 Likes
8 Replies
Solved

Is it possible one query for 3 models?

I have 3 tables: posts, comments, and users. One post has many comments (one to many relation.) Ever...

0 Likes
4 Replies
Solved

is that query preferable?

Would you write a query like that? Or would you prefer to divide it somehow? Is it ok for that long...

0 Likes
0 Replies

Model Event not working

I have the following model: class ProjectTwitterStatus extends Eloquent { protected $table = 'proj...

0 Likes
3 Replies
Solved
posted 10 years ago

insert data form to table problem

This file routes.php Route::post('', function() { $newuser=array( 'name'=> Input::get('name'), 'n...

0 Likes
6 Replies
posted 10 years ago

Important problem in ModelNotFoundException

hello dear friends I've a problem in catching ModelNotFoundException , here is my code try {...

0 Likes
5 Replies

Multiple relationships in Eloquent

Hi, i have 3 models User, Blog and Blogcomment. User <?php use Illuminate\Auth\UserInterface; us...

0 Likes
2 Replies

Replace method in Eloquent

Hello, I'm a newbie with the Laravel framework. Before I had build my old website in simply PHP with...

0 Likes
2 Replies
posted 10 years ago

Blank page

Hey, i use this <? $names = DB::table('Accounts')->get(); ?> and the page does not load aft...

0 Likes
5 Replies

General error: 1615 Prepared statement needs to be re-prepared

Hello. I was wondering why I often get the "something went wrong"-message on my website an...

0 Likes
3 Replies

Deleting relations

Hy everyone, I have a small problem and if anyone here would know the answer to it i would very much...

0 Likes
0 Replies
posted 10 years ago

Store graph data in database

Hey, i have a question: i have a game server, and i have an api that retrieves the players online. I...

0 Likes
4 Replies
posted 10 years ago

Add int to timestamp

Hello! I have a controller where I get some data form DB. I retrieve created_at(timestamp) from tabl...

0 Likes
2 Replies
Solved

login with google account

Hello! I am making an app with laravel 4 and I should do login with google account. I have successfu...

0 Likes
3 Replies
Solved
posted 10 years ago

Argument 1 passed to problem

Hello, When i'm trying to run php artisan db:seed i get this error: [ErrorException] Argument 1 pass...

0 Likes
3 Replies
posted 10 years ago

Seed problem

Hello guys, When i run php artisan db:seed i get this error: $ php artisan db:seed {"error"...

0 Likes
1 Replies
posted 10 years ago

Can not add constraint foreign key

I am posting this question because I have researched Laravel docs, MySql,and the tutorial I am worki...

0 Likes
5 Replies

query on array for laravel (like phplinq)?

I want to query on array like sql on db. Have any package to do this?

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.