Support the ongoing development of Laravel.io →

nikhilnikki

Joined 14 Feb 2014

Statistics

Threads 5
Replies 6
Solutions 0
Articles 0
posted 8 years ago

Trying to get property of non-object

If i'm copy the url of the home page and paste it into another browser it should go to the login pag...

Likes Replies
Solved

Non-static method Confirm::posts() should not be called statically, assuming $this from incompatible context

These are my models User public function posts() { return $this->hasMany('Post'); } P...

Likes Replies
Solved

Call to undefined method error while getting the data

these are my relations.. User model public function posts() { return $this->hasMany('Post'...

Likes Replies

problem in accessing value from parentmost table.

I've four tables.User,Post,Reply and Confirm tables. And the relation is User has many posts posts...

Likes Replies
posted 8 years ago

Accessing data from table using relationship

I've users,posts,comments table. Here are my models user model public function posts() { return $...

Likes Replies
Solved
replied 8 years ago

Trying to get property of non-object

Thanks for the replies. It worked for me.I added all the necessary routes inside the group filter....

0 Likes
replied 8 years ago

Non-static method Confirm::posts() should not be called statically, assuming $this from incompatible context

hi, I'm using this query $post = DB::select('select p.post from post AS p,con...

0 Likes
replied 8 years ago

Non-static method Confirm::posts() should not be called statically, assuming $this from incompatible context

Thanks for the replies these are my tables.. users: id name post:id post user_id reply:id reply...

0 Likes
replied 8 years ago

problem in accessing value from parentmost table.

ya.. its posts have many Reply... I wanted to display all the post that have reply_id present in con...

0 Likes
replied 8 years ago

Accessing data from table using relationship

Hi Belar. These are my tables...... users:id name posts:post_id(pk),post,user_id comments:comment_id...

0 Likes

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.

© 2022 Laravel.io - All rights reserved.