Posts by emmanuel pires • 90 points
10 posts
-
-3
votes1
answer89
viewsA: $imoveis is Undefined, indefinite variable in Blade
In function index() class ImoveisController try passing the properties to the view with the function compact() that way: return view('welcome', compact('imoveis')); The compact() makes a kind of…
-
0
votes1
answer376
viewsA: Trying to get Property of non-object error while trying to access the Blade view in the Laravel
There are some points in your code that are not very good, and perhaps impacting for this problem of yours. I advise to take a look at Relations and make this information come from the controller.…
-
1
votes1
answer39
viewsA: How to load an image dynamically in the Lockable navbar?
You can create a mutator for this specific User attribute, so Laravel will always modify the get() of this attribute and set a new example value: If you are saving the image name in the database and…
-
0
votes1
answer623
viewsA: Undefined Function Error: Call to Undefined Function curl_init()
[Resolved] was running Laravel on a built-in php server when installing the dependencies php continued with the old instance of the raised server, without the new libraries. ending the php artisan…
-
0
votes1
answer623
viewsQ: Undefined Function Error: Call to Undefined Function curl_init()
I am using Laravel 5.8 on a Debian Linux System with php 7.4 and implementing a function in which I need to perform a Curl: $curl = curl_init(); The code already points error when defining only the…
-
1
votes1
answer56
viewsA: How to apply my Css to a child tag
Try to use styling through the tag or by adding a class and referencing it in your css. See the example below taken from https://www.w3schools.com/css/css_table.asp this site is very good for…
cssanswered emmanuel pires 90 -
1
votes1
answer134
viewsA: Laravel 7, several variables in the same View
Your variable $form->question is not an object and you cannot access its properties using the reference arrow ->. Check the type of this variable and whether it is actually coming or is null;`…
-
1
votes1
answer71
viewsA: Add Laravel resources to an existing project
Hello, by the dependencies of this project is done in Slim framework, which does not have a library for scheduling tasks, it is necessary to implement one, searching in the packagist found this…
-
0
votes1
answer91
viewsA: Laravel 7, use of Foreign key
You’re not passing the "key" id_form for your Questions model it must have its primary key id of the other table as the data passed to that function through the request. Should be: $question = new…
-
1
votes1
answer26
viewsA: Dropdown does not show background
I didn’t quite understand your problem with overflow but from what I saw the real problem is to bring up the background of your submenu. this probably occurs because of the stylization used in…