Support the ongoing development of Laravel.io →

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

How to sort an unordered list in laravel with jquery?

I have a form that consists of check boxes. Each check box has it's own value(value1,value2,value3,v...

0 Likes
0 Replies

Options not allowed here

Hi all, I'm new in laravel. I managed to install and play around with laravel on my localhost. But w...

0 Likes
4 Replies
Solved
posted 11 years ago

Dependency injection & nesting

I have two repositories, and both of them use one another methods.. So, let's say I have WALLET repo...

0 Likes
2 Replies

Any L4 mechanism to assist with version of css, js?

I was wondering how the community currently handles pushing out css and js changes. We dont follow v...

0 Likes
16 Replies

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
posted 11 years ago

Laravel content translation

Hi all! What is a best practice to translate content in laravel? I need to translate large text and...

0 Likes
1 Replies

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
posted 11 years ago

Redirect to blank page before intended page

Hi, When using the redirect method, it takes me to a white page with the URL printed on the screen t...

0 Likes
0 Replies

Model specific translations for Validation

So, I have this problem: I'm creating an application, which will be translated to language other tha...

0 Likes
2 Replies
Solved

Correctly passing csrf with jQuery(formData) ?

I have an upload script that has a fall back to flash which doesn't pass the session, instead i can...

0 Likes
0 Replies
posted 11 years ago

how to populate a select field in a form

Hi all, I get x form, I fill it with some value, I submit it to postController of x form, I evaluate...

0 Likes
2 Replies
posted 11 years ago

a strange situation about @foreach

The blade code below doesn't render posts' id. However the count of posts is 3. Where is the problem...

0 Likes
5 Replies
Solved

problem changing public folder name

Hi, I'm trying to change my public folder to public_html. In my path file just changed this 'public'...

0 Likes
2 Replies
posted 11 years ago

Beanstalkd and Mail::Queue

I'm sending more or less 200 emails... Queue is working great but suddently it stops sending and lar...

0 Likes
2 Replies

Model Event not working

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

0 Likes
3 Replies
Solved

route validation

Hi all, I have a route pattern like 'category/{id}/{year}-{month}-{day}'. How can I render a 404 res...

0 Likes
1 Replies
Solved

Symfony \ Component \ Debug \ Exception \ FatalErrorException Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]])

I getting this error but I just install the packege and did not change any code. Symfony \ Component...

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

© 2026 Laravel.io - All rights reserved.