Support the ongoing development of Laravel.io →
Albert221

Albert221

Joined 13 Apr 2014

Statistics

Threads 11
Replies 14
Solutions 1
Articles 0
posted 11 years ago

[Laravel 5] Call to a member function domain() on a non-object

Hello, laravel throw me: Call to a member function domain() on a non-object view: <article>...

0 Likes
5 Replies
posted 11 years ago

Creating new model object with unusual value

Hi, I want to create and save model, something like this: $page = new \Page; $page->fill(\Input::...

0 Likes
2 Replies
Solved

Custom themes in laravel implementation

Hello, I want to give user a possibility to import/upload your own theme (view). I don't know to sol...

0 Likes
1 Replies
posted 11 years ago

RuntimeException Aborted when migrating

Okay, 1. problem fixed, next: When I run this code: Artisan::call('migrate'); Then I have: Runtime...

0 Likes
6 Replies
posted 11 years ago

Use of undefined constant STDIN - assumed 'STDIN'

Hello, I'm using Laravel 4.2. When I run: Artisan::call('migrate'); php throws: ErrorException Use...

0 Likes
2 Replies
Solved
replied 11 years ago

By blade can create dynamic sections

@section('menu') @include($variable) @stop

0 Likes
replied 11 years ago

How to add logic toForeach loop to show just upcoming events, not finished events

Event::where('event_date', '<', new Date('now'))->get();

0 Likes
replied 11 years ago

Best way to create route and resource controller

Thanks to coderego from the IRC channel. Solution is simple: Route::get('/{slug}', 'Controller@show'...

0 Likes
Solved
replied 11 years ago

belongsTo not return any result while expected

Replace $note->note_author->display_name with $note->note_author()->display_name

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.