laravel-crm
laravel-crm copied to clipboard
ERROR WHEN RUNNING php artisan krayin-crm:install
Following the instruction on the website that is
- composer create-project krayin/laravel-crm
- php artisan krayin-crm:install
while also configuring the .env file. p.s using postgres I get this error

PHP Fatal error: Uncaught Error: Call to a member function make() on null in D:\Projects\laravel-crm\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php:242
Stack trace:
#0 D:\Projects\laravel-crm\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(88): Illuminate\Foundation\Exceptions\Handler->report(Object(Error))
#1 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Error))
#2 {main}
thrown in D:\Projects\laravel-crm\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php on line 242
PHP Fatal error: Uncaught Error: Call to a member function make() on null in D:\Projects\laravel-crm\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php:242
Stack trace:
#0 D:\Projects\laravel-crm\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(88): Illuminate\Foundation\Exceptions\Handler->report(Object(Symfony\Component\ErrorHandler\Error\FatalError))
#1 D:\Projects\laravel-crm\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(130): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Symfony\Component\ErrorHandler\Error\FatalError))
#2 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
#3 {main}
thrown in D:\Projects\laravel-crm\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php on line 242
You can see from the attached picture that the migrations are running ok until it gets to
Migrating: 2021_09_30_154222_alter_lead_pipeline_stages_table
Where it bombs. Another issue is it runs even when i delete the schema in the DB but still gets that error and none of the migrated tables actually show up in the DB.
Hi there, Please verify once. are all the required dependencies available on your server?
Hi there, Please verify once. are all the required dependencies available on your server?
running on local, and yes, installed all dependencies
Hello everyone, I am experiencing a similar issue and would appreciate any help in resolving it.
I have a similar issue. Works locally, but won't install on newly provisioned production server (through Laravel Forge).
HI, I am experiencing a similar issue and would appreciate any help in resolving it. version php : php 8.1.23 PHP Fatal error: Uncaught Error: Call to a member function make() on null in /laravel-crm/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:262
The step that is missing between in the documents is to edit .env and enter in your MySQL database details between these two commands
composer create-project krayin/laravel-crm and php artisan krayin-crm:install
Hello everyone, I am experiencing a similar issue and would appreciate any help in resolving it.
The issue was with the php version you're using, try using like 8
HI, I am experiencing a similar issue and would appreciate any help in resolving it. version php : php 8.1.23 PHP Fatal error: Uncaught Error: Call to a member function make() on null in /laravel-crm/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:262
For me, once we updated our php version to 8 it worked, so play around with the php versions
I have a similar issue. Works locally, but won't install on newly provisioned production server (through Laravel Forge).
Maybe dockerize it, cause in my situation the issue was due to php version
tested the following commands, working for me
composer create-project krayin/laravel-crm php artisan krayin-crm:install
if you face this again, then apply these changes https://github.com/krayin/laravel-crm/pull/1114/files and share the error.