Ismail Malik Ismail Malik - 1 year ago 125
MySQL Question

Laravel [login-message] not found exception

I'm getting this error


InvalidArgumentException in
line 137: View [login-message] not found.



public function index() {
$company_name= Session::get('company_sess.company_name');
//return view('login-message');
if ($company_name) {
return redirect()->guest($company_name.'/login');
else {
return view('login-message');

Answer Source

Its saying that it cant find a view named login-message. You need to make sure that in your views folder you actually have view with filename login-message.blade.php

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download