Support the ongoing development of Laravel.io →
jerauf

jerauf

Joined 16 Feb 2014

Statistics

Threads 82
Replies 112
Solutions 2
Articles 0
posted 8 years ago

withDefault for hasOne?

Does withDefault() work with a hasOne relationship? I haven't been able to get it to work.

0 Likes
0 Replies
posted 8 years ago

PHP Fatal error: Class 'Route' not found

[05-Jul-2017 23:46:09 America/Los_Angeles] PHP Fatal error: Class 'Route' not found in [My Path]/rou...

0 Likes
4 Replies

Sorting with Jquery UI

I'm trying to sort with Jquery UI in Laravel and it's giving me fits. Here is my controller: public...

0 Likes
0 Replies
posted 8 years ago

PHP Fatal error: Class 'Route' not found on Laravel 5.4

I've suddenly started getting this error: PHP Fatal error: Class 'Route' not found The error messa...

0 Likes
1 Replies
posted 8 years ago

Removing 'the', 'an' and converting numbers to text

I'm trying to use a sort field in my database but everything needs to be entered twice. So I'm looki...

0 Likes
0 Replies
replied 11 years ago

Populating a dropdown menu from MySQL database

Because it's saying that the undefined variable is companies, isn't it throwing the error at foreach...

0 Likes
replied 11 years ago

Populating a dropdown menu from MySQL database

When I do that it tells me "Undefined variable: companies".

0 Likes
replied 11 years ago

Populating a dropdown menu from MySQL database

Sure. Here is from the controller: $companies = RecordCompany::lists('company_name', 'id'); return...

0 Likes
replied 11 years ago

Populating a dropdown menu from MySQL database

Thanks for the suggestion. If I do that, I'm getting an error: Undefined variable: companies And whe...

0 Likes
replied 11 years ago

Populating a dropdown menu from MySQL database

Thanks for the response. Maybe I'm not doing it right, but I did this: {{ Form::select('company_id',...

0 Likes

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.