@extends('layouts.page') @section('title') Projects:
{{ $projects->total() }}

Warning: Undefined variable $projects in /var/www/html/pruthvi/resources/views/project_new/index.blade.php on line 5

Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /var/www/html/pruthvi/resources/views/project_new/index.blade.php:5 Stack trace: #0 /var/www/html/pruthvi/resources/views/project_new/index.blade.php(5): method_exists() #1 {main} thrown in /var/www/html/pruthvi/resources/views/project_new/index.blade.php on line 5