Support the ongoing development of →
Database Laravel
Last updated 2 years ago.

Ok, so I'm guessing you're getting the error in 2nd foreach loop, since I don't see the error line in your post. dd($input) in there, because it's not an object, it's either a string or an array.

You're calling a function from an object that isn't there, at least It's not called input


Sign in to participate in this thread!


Your banner here too?

johnef johnef Joined 18 May 2016


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.