ziben69
3 weeks ago
103
3
Laravel

Laravel | Routing overlapping problem

Posted 3 weeks ago by ziben69

Hello guys,

I have problem with route overlapping. When I try to display contact.blade.php I am getting an error message:

Trying to get property 'title' of non-object (View: C:\xampp\htdocs\project\resources\views\pages\page\show.blade.php)

Page show function route

Route::get('/{slug}', '[email protected]');

Contact index function route

Route::get('contact/', '[email protected]');

How can I solve this problem?

Please sign in or create an account to participate in this conversation.