Posts by Gabriel Alves • 41 points
13 posts
-
0
votes0
answers162
viewsQ: Error while doing Hibernate relationship with Java
Good afternoon guys! I have a question in Hibernate. I have the following case Person - Client - Supplier But I’m having trouble making the relationship. follows my codes New Error 18:50:34,405…
-
0
votes1
answer2766
viewsQ: Error while running a Trigger
I’m having the following error while running my Rigger, how could I resolve? ERROR Error when I give Insert in the purchasing table INSERT into compra_product (CPR_CODIGO, PRO_CODIGO,CPP_QTDE,…
-
0
votes1
answer479
viewsQ: Group By Days Laravel Eloquent
I’m having trouble grouping data together for different days. I have some reports registered and with the standard Created_at and Updated_at I’d like to show these communiqués Separated day by day..…
-
0
votes1
answer277
viewsQ: Laravel Defender Trying to get Property 'name' of non-object
Is returning the following error of my assignment: $user->attachRole(12); Observing: if I use this way parameterized the normal functional defender models $user->roles()->attach(12); What…
-
0
votes2
answers38
viewsA: Error in customizing the default user registration Laravel Auth
IT WORKED OUT THANK YOU MT $user = $this->create($request->all()); $user->roles()->attach(12); $user->companies()->attach($request->company_id); event(new Registered($user)); A…
-
0
votes2
answers38
viewsQ: Error in customizing the default user registration Laravel Auth
Error after registering and redirecting PS: he makes the registration normally, and I can access normally, but always give this error! I made a modification only in the user register, I…
-
0
votes0
answers80
viewsQ: Identify and list which users viewed an Laravel post
Good afternoon, for study purposes, I am creating a communication system, where users register communiqués on a timeline, but I came across the following question, How would I show which users…
-
1
votes1
answer92
viewsQ: Make inclusions of the respective user Laravel 5.5 Auth Standard
I have a simple question, I am setting up some registrations for the purpose of studying the framework Aravel, with People, Accounts and etc.. I am using Laravel’s default authentication, and now I…
-
0
votes1
answer1574
viewsA: Trying to get Property 'name' of non-object Laravel Eloquent Error when pulling foreign key data
public function recebimento():hasMany{ return $this->hasMany('App\Recebimento', 'plano_contas_id', 'id'); } public function planoconta():BelongsTo{ return $this->BelongsTo('App\Planoconta',…
-
0
votes1
answer1574
viewsQ: Trying to get Property 'name' of non-object Laravel Eloquent Error when pulling foreign key data
I am trying to use relationships to show data on screen but I get the following error: Trying to get Property 'name' of non-object In this command…
-
1
votes1
answer905
viewsQ: Registration of users with CPF or CNPJ Laravel 5.5
How do I customize the user registration Laravel in the auth pattern using php artisan make:auth? I need the following clause It is mandatory to insert the field CPF or CNPJ. I found the…
-
1
votes1
answer218
viewsQ: Methodnotallowedhttpexception($others) Laravel Send form via Ajax
I have a simple form and I am sending it to the controller by Ajax, but my problem is that after clicking the Submit button it does not call the Ajax request in my Jquery and already forwards…
-
0
votes1
answer965
viewsQ: Laravel 5 Eloquent View Blade with Foreign Key?
I get the following error: Trying to get Property 'name' of non-object I have a list of Suppliers and Payments, and I am using the following syntax to retrieve the Vendor name through the foreign…