Support the ongoing development of Laravel.io →
posted 7 years ago

array to string conversion error

seed error My model : <?php namespace App; use Cviebrock\EloquentSluggable\Sluggable; use Eloq...

0 Likes
1 Replies
posted 7 years ago

avoid duplicated statements when role is checked

Hello, I have a method "hasRole" in my User model to check the user role which do the foll...

0 Likes
0 Replies
posted 7 years ago

Stuck with registering service provider. What to do next ?

This is my base abstract class. <?php namespace App\Server ; abstract class DataEntry{ /*This cl...

0 Likes
1 Replies
posted 7 years ago

Seed script, how to run that from cron utility?

hi friends, pls I need your help ... I have a PHP/Laravel script created for update data as seed pro...

0 Likes
0 Replies

Display multiple json objects present in the single data cell

I have a column say placeditems where each time an user places his order a json object is stored.So,...

0 Likes
0 Replies

Facing problem in outputting a query's result

I have a query whose result is single column and outputs array(1) { [0]=> object(stdClass)#243 (1...

0 Likes
0 Replies

Laravel Adding Bulk data in Polymorphic Relationship

Suppose we have this schema: Set id name Question questionable_type questionable_id...

0 Likes
0 Replies
posted 7 years ago

v-model not working in multi dimentional array

Hi Guys, So i am trying to get v-model to work in a loop for a multi dimensional object. The bit tha...

0 Likes
0 Replies
posted 7 years ago

Primus in Laravel

Hello, i want to use the Primus (https://github.com/primus/primus) client in Laravel. I can't figure...

0 Likes
0 Replies
posted 7 years ago

why only 1 row printed? ask about DOMpdf

guys, i have this code. i intend to make whole document printed but only 1 row appear $query = mysql...

0 Likes
0 Replies
posted 7 years ago

[Feature request] Add config for notifications table

Hi, The github ticket https://github.com/laravel/framework/issues/15847 pretty much summarizes the i...

0 Likes
0 Replies

Middleware Auth for Resource Controller

I'm trying to use Laravel's auth middleware for a resource route. I have it setup as the code below...

0 Likes
2 Replies
posted 7 years ago

i cant make array in DomPDF, help me..

So i have this code <?php //$nama = str_replace(" ", "_", strtolower($_POS...

0 Likes
0 Replies

Set default MySQL timezone on connect?

There is a system timezone setting in the app.php config file, and that sets the PHP session timezon...

0 Likes
5 Replies

Can we make Laravel return HTTP 400 instead of 302 for failed form validations?

My SaaS product has been the target of people using SQLMap. I've been trying to figure out how to bl...

0 Likes
0 Replies
posted 7 years ago
0 Likes
2 Replies

Unwanted redirect

I'm having a problem with a route for user registration redirecting to /auth/login (GET). Here is a...

0 Likes
0 Replies

Sending email via Laravel 5.2

Hi, The test email is working fine but once send via the contact form its not sending email. how can...

0 Likes
8 Replies
Solved
posted 7 years ago

My Compiled JS not working...

i have a function in my resource/js/app.js like: function notifme(text) { alert(text); }...

0 Likes
0 Replies

Lumen flash messages

Hello guys, I have a question. How can I add possibility for flash messages in Lumen? It seems that...

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