Posts by user3254496 • 21 points
3 posts
-
0
votes0
answers85
viewsQ: Accessors and Mutators in Laravel 5.3
How do I run my own method in Accessors and Mutators of Laravel 5.3 it works with the methods of PHP itself, but if I try to use a method of my own, it gives error. I’ve tried it like this: public…
-
1
votes0
answers393
viewsQ: Invalid request (Unexpected EOF) - Orange 5.4
I’m having a problem using Laravel 5.4, suddenly the site stopped working (locally) and gives this error in the server (cmd) and the site does not load. In the browser console error 500 appears when…
-
1
votes1
answer570
viewsQ: Foreach in JSON file
I have a comeback JSON, but I’m not getting a foreach (PHP) in it, keeps giving this error: Invalid argument supplied for foreach() Follows below the JSON: { "categorias": { "categoria": [ { "id":…