ErrorException Trying to access array offset on value of type int #36176
Replies: 4 comments 9 replies
-
You are probably trying accessing a non-array type,or It's a PHP versioning issue please have a look #30737 |
Beta Was this translation helpful? Give feedback.
-
Try Follow these steps, clear your view php artisan view:clear and php artisan cache:clear and remove your html code inside foreach loop and try only echo {{$step['name']}} inside foreach loop,It will helps you to identify which portion of your code is causing this errors. |
Beta Was this translation helpful? Give feedback.
-
Bro i have been facing the same problem did you have any solution for it..??? |
Beta Was this translation helpful? Give feedback.
-
I faced the same issue, and after some debugging i understood what make this error happen. So basically is on line 8, you wrote |
Beta Was this translation helpful? Give feedback.
-
Hello all,
I am brand new to Laravel and recently have been following along with a tutorial on learning how to work with it, and in this tutorial we learn how to create a to do list. I am at the very end of this tutorial and at this point we are using livewire to allow us to create new to do step fields in addition to already existing ones when editing a to do. When I go to create a new to do step I get this error:
I feel the error message gives a pretty clear and obvious statement, but after lots of searching I cannot find a solution.
It tells me line 8 of this edit-step.blade.php is where my error is coming from. Does anyone have any ideas for a solution to this?
All help is greatly appreciated
Beta Was this translation helpful? Give feedback.
All reactions