Ravindra24.com

laravel middleware error – This page isn’t working 127.0.0.1 redirected you too many times.

I am using a middleware in my project and i created a middle ware file called validlogin.php and i applied middleware for my route which comes after login process and this route called dashboard since then it is showing following error error – This page isn’t working 127.0.0.1 redirected you too many times. validlogin.php web.php … Read more

How to replace space with dash in Laravel

Question I am developing a project in which i need to make the URLs of pages and when the user submits the title of pages and title’s space should be replaced with “-” so that it can be in correct format such as  how-to-replace-space-with-dash-in-laravel Answer Sometime you might need to replace some thing with any … Read more

htmlspecialchars() expects parameter 1 to be string, object given (view: c:\xampp\htdocs\blog1\resources\views\email-verification.blade.php)

I am using a blade file called email-verification.blade.php to send laravel emails and when i run this file the following errors comes on the browser htmlspecialchars() expects parameter 1 to be string, object given I am not getting any solution please provide me the solution. Answer It’s looking that you are using wrong syntax under … Read more