Support the ongoing development of Laravel.io →

4,607 Threads

posted 9 years ago

SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)

Hi, I'm starting to learn Laravel, but I'm encountering a big error for the database connection that...

0 Likes
12 Replies

Select from two tables and show everything

I want to show on the page data from two tables but with a little condition and I can't figured it o...

0 Likes
1 Replies
Solved

Laravel Eloquent Model Does not return anything or show any error

Hi, My Eloquent Model is here- <?php namespace App; use Illuminate\Database\Eloquent\Model; cl...

0 Likes
0 Replies

Codeception writes in production db and reads from testing

I am trying to write functional tests for my app. I am using Laravel 5.2 and Codeception. I have a s...

0 Likes
1 Replies
Solved

How to store a empty value as null in a Decimal field

Hi there, I have a problem when I try to store a empty string into the database, laravel stores it a...

0 Likes
4 Replies

Calling eloquent relation multiple times doesn't return data

I'm having this strange behavior in Laravel 5.1 where when I call the relation of an eloquent model...

0 Likes
0 Replies

Changing Eloquent models database connection at runtime

Is there any way to force Eloquent models to re resolve the connection they were instantiated with?...

0 Likes
3 Replies
Solved

Help Undefined Offset Error

Hi. This is a code for search. Anyway each time i try to search with a term that is NOT in the datab...

0 Likes
0 Replies

PROBLEM: Multiple store of data using attach().

Im getting this error "Undefined offset: 1" what should I change here: Controller: pub...

0 Likes
0 Replies

array_merge(): Argument #2 is not an array

I get this error when I try to edit my users array_merge(): Argument #2 is not an array I've tried...

0 Likes
7 Replies
Solved

storing data in laravel

I'm trying to store the following incoming data into the DB, and it is successfully stored except on...

0 Likes
0 Replies

I don't get migration...

I just don't understand this concept of migrations could someone explain it in simple terms.. I know...

0 Likes
1 Replies

jQuery autocomplete not working if data taken from DB

Hi, jquery autocomplete does not work if i try to get data from a db table. It works if i define the...

0 Likes
6 Replies
posted 9 years ago

Elasticsearch Laravel : No alive nodes found in your cluster

I'm having issues getting elastic search to work with my larval project I'm trying to index a docume...

0 Likes
0 Replies
posted 9 years ago

Problem to simply get data with 3 tables

Hello everyone ! I began laravel one week ago, and today I decided to properly use eloquent. So I wi...

0 Likes
2 Replies

Saving multiple data in database

What should I change to save multiple data here? Thanks in advance. This should be the output fsr_nu...

0 Likes
0 Replies

Why no alert is showing in Laravel 5?

this is my PostController.php, <?php namespace App\Http\Controllers; use Illuminate\Http\Reques...

0 Likes
1 Replies

Eloquent Lookup Tables and Dynamic Model Creation

So I've been working on a project for a few weeks now and have just picked up Laravel because of it...

0 Likes
0 Replies

Sync or attach by something other than an ID?

I'm following along with examples in the docs, and am playing around with many to many relationships...

0 Likes
4 Replies

Undefined Variable 'posts' - Laravel 5

In my ShowController, I returned a view with variable posts, like <?php namespace App\Http\Contr...

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

© 2025 Laravel.io - All rights reserved.