Support the ongoing development of Laravel.io →

2,053 Threads

posted 8 years ago

"Trying to get property of non-object" error - cast array to object?

I have the following in my controller namespace App\Http\Controllers\Settings; use Illuminate\Http\...

0 Likes
2 Replies
posted 7 years ago

ErrorException when trying to access model attribute

I have $formas_pagos variable loaded with FormasPago model data. When i iterate trough $formas_pagos...

0 Likes
0 Replies

I'm have problem with Inner join and response

Controller: public function editar($id){ $emitentes = Emitente::all(); $destinatarios = destinatario...

0 Likes
0 Replies

Allow registration just in case that user is logged in

Hello, Im using Laravel 5.3 Id like to allow registrations just for users who are currently logged i...

0 Likes
1 Replies

Laravel 5.3 - Splitting Vue components

Hello, First, I'm no expert with Laravel, Vue or webpack.. However, I've been testing 5.3 (yes, pre-...

0 Likes
1 Replies

Laravel workflow using a template. Best practice?

I will start a new project using laravel and an metronic admin template. As you may guess, there are...

0 Likes
0 Replies

my url is not working properly.

I have install laravel 5.2 on LAMP in Digital ocean . After installation and configuration I run php...

0 Likes
0 Replies

How to pass variable from one controller to another controller in laravel

I have one Controller eg. VendorContoller in index.blade.php i have display all details in table wit...

0 Likes
1 Replies

Laravel utf-8 problem

Hello, I have created a new Laravel 5.3 application and I have a problem with utf-8 chars which are...

0 Likes
0 Replies

Best practice to configure a master page for only one unique page on a site

I've created a master page for our site so that we maintain a similar layout throughout, but our hom...

0 Likes
1 Replies
posted 7 years ago

My route not working well

Route::get('admin', 'AdminController@index'); Route::get('adduser', 'AdminController@adduser'); Rou...

0 Likes
2 Replies

hasOne not working (undefined property: stdClass)

I have two tables users id | name images id | user_id User model class User extends Authenticatabl...

0 Likes
2 Replies

Adding a Vue Component to Spark

Has anyone got a step by step example of actually adding a vue component such as the awesome vue-mul...

0 Likes
2 Replies
Solved

Problem while deploying laravel project on shared server

Hi, I have uploaded laravel project on godaddy server and updated .env file and also updated all req...

0 Likes
2 Replies

Route to delete method

Hi, I'm having troubles to define a delete route, can someone showme an example about how to define...

0 Likes
2 Replies

Query in foreach Loop in Blade

Dear all, I am quite new at Laravel. I have a Product Model and a Category-Model. Each Product has o...

0 Likes
1 Replies

getting error on patch method

Hi everyone, I am new in laravel, i am using patch method but i am getting error "Missing requi...

0 Likes
0 Replies

reuse $var???

Noob question here. Is their a way I can reuse a $var??? example.. public function funcA(){ $var...

0 Likes
3 Replies
Solved

How to retrieve Sub-Categories according to Parent category selection?

I have two tables 'Sectors' and 'Categories' $sectors = Sector::lists('name','id')->all(); $categ...

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