Hello, man it really strangely, it must be work so try to rewrite the return view('homeview')->with('posts', $posts);
with:
return view('homeview')->withPosts($posts);
//or
return view('homeview', compact('posts'));
If this doesn't work, then show pls your roures from routes.php
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community