Support the ongoing development of Laravel.io →

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

php7.1 and Mcrypt

Hello all! I read an article today about PHP 7.1 that says mcrypt_* will throw deprecation warnings....

0 Likes
1 Replies
posted 9 years ago

Testing artisan commands

I have two artisan commands and would like to write test cases for it, can't i do it? I didn't find...

0 Likes
4 Replies
Solved

8 things Theresa May will do if she gets picked to be the next Prime Minister

http://germanyvsitalylivestream.com/ http://walesvsbelgiumlivestream.com/ http://walesvsbelgiumlives...

0 Likes
0 Replies
posted 7 years ago

homestead error after updating

Hello, I just updated the homestead box to 0.5 and now I´m getting an error. I did a vagrant destroy...

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

Defining layout in Controller

Hey, in Laravel 4 it was possible to define the master layout in the controller, so that it was used...

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

Routing problem on quickstart tutorial

Hi all, Looking to move back from .NET MVC to an enlightened and lovely PHP framework. I like what...

0 Likes
6 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

Call to undefined method Modules\Oauth\Repositories\Eloquent\EloquentMemberRepository::attempt()

$email = $request->get('email'); $password = $request->get('password'); $password = md5($p...

0 Likes
0 Replies

To get variables from "config" folder and use it in "Test cases"

#UNABLE TO ACCESS config Is there any way to create a config object in test cases. Currently we are...

0 Likes
0 Replies

Nasty recipient mixup on Mail::queue() and Queue::failing()

Hi! Laravel 4.2 here, eCommerce site. After an order is placed, I queue several summary emails like...

0 Likes
0 Replies

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

model save

Hi, I'm wondering if i'm the only one who got null when I save a model instead of true previously ?...

0 Likes
0 Replies

Scheduling Update in Database

Hi, i have a script who take data from a Json, put in Database and Display. I wanna update data if a...

0 Likes
0 Replies

Display Json Format

Hi : i have this format : [M] => stdClass Object ( [CUsed] => 0 [CLeft] => 0 ) [D] => st...

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.

© 2024 Laravel.io - All rights reserved.